Questions tagged [command]

A command is a directive to a computer program acting as an interpreter of some kind, in order to perform a specific task. Most commonly a command is a directive to some kind of command line interface, such as a shell. Use [command-pattern] for the design pattern.

Filter by
Sorted by
Tagged with
-1 votes
0 answers
21 views

/Var partition full need to add space to it. Can not install security updates or install programs

How do i increase and or resize my /var partition if it is full.(https://i.stack.imgur.com/NC9xf.png)](https://i.stack.imgur.com/zDCg2.png) i examined the /var partition and noticed it was full. I am ...
slothbin's user avatar
-1 votes
0 answers
15 views

Discord.py lastfm bot command issue

I'm making a lastfm bot in discord.py and it says for line 27 "Undetermined string lateral". Idk how to fix it Issue is: track_list += f"{track['name']} by {track['artist']['name']}\n&...
Gypsy's user avatar
  • 1
0 votes
0 answers
3 views

shopware 6 can I run command forcefully(by coding)

I just want to run the command by code. I mean how can run the "bin/console cache:clear" command by coding? Thanks
Muhammad Zahoor's user avatar
0 votes
0 answers
18 views

Is there a way to bypass the permission denied error when trying to access /var/log/wtmp or /var/log/utmp on Linux to view logs and users? [closed]

By trying to scan for a list of users on the current device, using /var/log/wtmp and /var/log/utmp it returns: -bash: /var/log/wtmp: permission denied or -bash: /var/log/utmp: permission denied I'm ...
wandertu's user avatar
0 votes
1 answer
21 views

Is there a way to check for dir with ls and then create an directory with just one commmand?

I'm quite new to shell commands and wondered if there is a way to connect two commands: Scenario-> you check for a directory with the command ls and if it isn't there yet you connect ls with the ...
Sveppg's user avatar
  • 3
0 votes
1 answer
20 views

Why am I getting a 'Missing Permissions' error when trying to use my ban command in Discord.js?

I was coding a ban command but when I tested it and tried it on my discord server, it didnt work, so I added an extra line of code just to log the error message on the console and it said ...
darkmenacing's user avatar
-1 votes
0 answers
20 views

How can I create a global command for my bot in Discord.js to work in multiple servers?

How do i make a global command? So if I execute my bot command in other server it would working, not only in 1 server, currently i use a handlers from 'notunderctrl' : https://github.com/notunderctrl/...
Hehehehaw's user avatar
-2 votes
0 answers
12 views

Command to get only one audio track in output specified by language code with ffmpeg

Ffmpeg Command to get video with only English audio I tried running ffmpeg -i input_video.ext -map 0:v -map 0:a:language=eng -c:v copy -c:a copy -map_metadata -1 -sn output.mp4 But the output file I ...
killerlearner's user avatar
0 votes
1 answer
41 views

WPF bind to changing command

I have a button that should bind to to command of a View. The problem is that this command changes runtime (and initially it is null). My code looks like this: MyViewModel.cs public class MyViewModel ...
Vitali Dzikavitski's user avatar
1 vote
1 answer
12 views

Removing Spaces before and after custom commands

I have a problem using Latex and custom commands. The custom command \refChap adds spaces before and after the inserted text every time when used. I would like a solution that suppresses said spaces. ...
Taylor Verikor's user avatar
0 votes
0 answers
31 views

FFmpeg - invalid argument on a creation of MP4 with .SRT - Help Needed to Correctly Set Filename of .srt in a FFMPEG Command

I have been experiencing a persistent issue while developing a command in FFMPEG to combine a .mp4 file (composed of a static image & audio from a .mp3) with burnt-in subtitles from a stylized ....
sKunZel's user avatar
-1 votes
1 answer
28 views

How can i get these Git commands to work?

can anyone help me, I am not able to use git commands (config & add.) SS As i was trying to upload my project to git hub, using git but i was unable to use these commands (config and add.) as its ...
Junaid syed's user avatar
-1 votes
0 answers
36 views

Cannot access protected property App\Console\Kernel::$app

I have a weird problem that I have been unable to solve for 2 days. Here's what I want to achieve: Using Laravels latest version (10.10) I'm running a specific scheduler command which starts a SOAP ...
Perzonallica's user avatar
0 votes
4 answers
48 views

How to pass arguments in python subprocess?

I want to create a method which executes below command in python using subprocess.run() python3 detect_wrong.py --source overpass.mp4 --weights ./my_coco.pt --data ./data/my_coco.yaml subprocess.run([...
AaqilSh's user avatar
  • 119
0 votes
0 answers
12 views

Generate commands based on JSON file using the following structure

I am stuck with something and I cannot seem to find a solution to this. The JSON array below needs to be parsed and all the arguments appended in a command up untill the deepest level. { "...
Alexandru Lupaescu's user avatar
1 vote
0 answers
52 views

Bindable command in NET Maui for custom control is always null?

I'm trying to implement a bindable command in a custom control based on Maps in order to provide action to clicking a pin in the maps control, but the OnSelectedPin command in the CustomMap is always ...
Cliffhanger's user avatar
-1 votes
0 answers
15 views

I can't uninstall netbeans in linux ubuntu

i am having a problem uninstalling my current netbeans because i want to install another one. However, I'm not understanding how to uninstall netbeans. I tried to follow about 4 tutorials that I saw ...
kanaiama's user avatar
-1 votes
0 answers
17 views

can't run node js on my mac pc even when it is installed?

so i dowloaded node js on my mac pc(version 10.13.6 or as code name high sierra) and everytime i try and run the command i get the same error and i don't know why or how it is happening error message ...
kobero the cheesseman's user avatar
-1 votes
0 answers
11 views

Arch Linux broken path (and pacman)

While trying to remove a Bug with the help of chatgpt, i followed the instruction without thinking. Now, i don't know what to do. The Ai tells me tu run this command:sudo rm -r /etc/pacman.d/gnupg. I ...
benni's user avatar
  • 1
-1 votes
0 answers
30 views

How to give permission for a file and folder in Docker file...?

Im trying to create a Docker file with file permissions for folder which has a text file. Im unbale to give permission after writing the following commands. I hve tried "chmod 777" but still ...
dexter_danny's user avatar
0 votes
0 answers
9 views

Trying to resolve from Command Prompt SyntaxError: unexpected character after line continuation character

Trying to resolve from Command Prompt SyntaxError: unexpected character after line continuation character Expected command to run, gave this error instead.
Ian Burn's user avatar
0 votes
0 answers
49 views

Rust STD::Process::command seems to be unable to run any Electron App, in any Way

I've tried everything by now. Starting with the obvious std::Command: Managed to run literally every Programm with every arg I pass, except Electron Apps. I tried passing all my env, variables to it, ...
Quanti's user avatar
  • 1
0 votes
0 answers
14 views

devcon.exe no devices disabled after everything that should have worked

I am having an issue where every time I try to disable a keyboard (and only a keyboard) it will not let me. I have tried everything and still nothing C:\Users\x\Documents>devcon disable =keyboard ...
Jacob Coleman's user avatar
0 votes
0 answers
24 views

How to execute A command with output of B command [duplicate]

I want to substitute an output of a command with another command. In this case, I would like to take uuid and baseboard-serial-number of the machine using **dmidecode, **but those do not work on WSL ...
Sayyid's user avatar
  • 1
5 votes
1 answer
55 views

Python Tkinter cascaded menu command not executing

I have a problem, which I am trying to solve, and have reproduced it with the code below. The issue that I have, is that I can get the specified command to work from a main menu item, but when the ...
Clive Bostock's user avatar
0 votes
2 answers
62 views

Vite run custom script when file changed

I'm trying to use an external script to create static-generated content (SSG) but can't figure out how to plug it into Vite. I've looked into plugins like vite-plugin-run but that dosn't seem to be ...
Pithikos's user avatar
  • 18.5k
0 votes
0 answers
10 views

Bash Script in Windows can not find Path to Maven [duplicate]

I am using Windows and Git Bash. My maven command is set in Environment Variables and is able to execute in any directory of my command line. But I wrote a bash script and it cannot find my mvn ...
MrOT's user avatar
  • 1
0 votes
0 answers
7 views

Looking to upgrade my hosting for my web app from a cloud instance to Heroku & am using serve to deliver the build folder & nodemon on the server side

I currently have my web app deployed on a remote instance in the cloud. This was done initially so I could test PoC. My site has a react front end client in a client folder and a node.js express ...
Craig Monroe's user avatar
1 vote
1 answer
90 views

MAUI event to command behavior command binding to viewmodel

So i got ContentPage.Resources in which i define DataTemplate for BindableLayout. I need to bind Unfocused editor event from this DataTemplate to my ViewModel relay command. But i cant just do it like ...
Death_Dealer's user avatar
-1 votes
0 answers
50 views

WPF UI doesn't change when I change data binding

When I click Button in MenuRoomTheme, I change IsActive = true and set ColorRoom = Red and invoke OnPropertyChanged but the BackGround of Border is not changed to Red color. It remains Wheat Color. ...
Văn Hào Trương's user avatar
0 votes
1 answer
35 views

Intellij Terminal does not recognize the mvn / java / gradle commands

When I use the commands like java --v or mvn -v locally, it works. But when I use it in the IntelliJ IDEA terminal does not recognize them. Local: IntelliJ IDEA terminal: The environment variables: ...
Jhon Espinal's user avatar
0 votes
0 answers
55 views

Replace text in pdf by command line

I want to replace a word with another word by command line . I search on google but only see paid solution by application . Is there a free solution for that ?
Mr Le's user avatar
  • 1
-1 votes
0 answers
22 views

is there a cisco packet tracer command library?

is there any library with examples of cisco packet tracer commands because remembering so many is difficult and it would make studies a lot easier ive looked across the internet for a command library ...
big ginge's user avatar
0 votes
1 answer
29 views

Trying to load environment values and running migrations on multiple databases

I am trying to load configuration for specific sites and running through a custom command but it would not run. Here is my code. $sites = Site::all(); foreach ($sites as $site) { $this->info(&...
Ali Rasheed's user avatar
  • 2,755
-1 votes
0 answers
22 views

How to launch correctly C# compiler csc.exe with a file in command line?

I want to launch csc.exe on MS .NET Framework, 4.0.30319 for compiling cs.cs in this folder, I use command line arguments. I am sending csc.exe cs.cs, but it gives an error of temporary files deleting....
profittech's user avatar
0 votes
1 answer
24 views

How to create main.py file for Discord commands

I'm making a Discord bot that allows the user to play the mines gambling mini game and some other types of casino games. I want there to be individual files for each command, for example I have ...
brainpower515's user avatar
0 votes
0 answers
9 views

After-Effects CTI to selected keyframe

I am new to After-Effects, and would like to add a function or a command to the application. I've checked the command list and am pretty sure this function does not already exist. I would like to ...
kevek's user avatar
  • 1
0 votes
0 answers
57 views

javac complie with jar file

it is my dir structrue compile_java ├── my_lib │   ├── bin │   │   ├── pak1 │   │   │   └── A.class │   │   └── pak2 │   │   └── B.class │   ├── dist │   │   └── my_lib.jar │   └── src │   ├──...
castle shin's user avatar
1 vote
1 answer
33 views

how to save results of perf sched latency? It waits for keyboard input even when redirected to a file

I use the following commands: perf sched record -- sleep 1 perf sched latency It will print the latencies of tasks. Then, I use command perf sched latency &> abc.txt. However, it won't finish, ...
xfish's user avatar
  • 11
0 votes
0 answers
25 views

Delete an admin file from standard account

So the case is. I'm logged in into a standard account I do have the admin username and password. I want to delete a file from that standard account by using the admin name and password using cmd or ...
skinfo's user avatar
  • 1
0 votes
1 answer
41 views

AIX list out all account password last update date until today

I would like to know how to generate the list of all account's password last update date counted until today by cmd on the AIX server. I am so confused about finding the user account as the server not ...
Matt Tin's user avatar
0 votes
0 answers
23 views

How to check the status of a command launched in detached mode [duplicate]

I have a command (that would take a long time to run) launched in detached mode: cmd1 & After launching the command, I would like to get the status of this command (whether it has successfully ...
Pat. ANDRIA's user avatar
  • 2,322
-2 votes
1 answer
72 views

Passing arguments from Perl to Windows Command Prompt

I'm trying to execute an .exe file in Windows Command Prompt from Perl. I'm using something like system($Execute_Program) $Execute_Program looks like: "Executable Program C:Path\foo1 --...
drmathprog's user avatar
-1 votes
2 answers
67 views

Why isn't my BEGIN command working on SQL

I have this code to create a function. But it tells me the command in BEGIN is wrong CREATE FUNCTION transform_activebool(activebool CHAR(1)) RETURNS VARCHAR(10) BEGIN IF activebool = 't' THEN ...
IvanMafia's user avatar
0 votes
1 answer
37 views

Backticks in Bash script doesn't interpret curl parameter while command execution [duplicate]

I am executing the below command inside the shell script: CURL_RESPONSE=`curl --request POST "$1" --header 'Content-Type: application/x-www-form-urlencoded' --data-urlencode 'grant_type=&...
Spiderweb Computer Technologie's user avatar
0 votes
2 answers
43 views

how to use cogs and slash commands

I'm trying to use prefix commands together with slash commands, in cog files that are separated in a separate folder. import os import datetime import asyncio import random from discord.ext import ...
Eduardo Viana's user avatar
0 votes
1 answer
48 views

I'm trying to run a Python script to restore broken links in my Google Chrome session [duplicate]

I'm trying to run this script called "Great Suspender Restore URLS" in order to, well, restore the broken Great Suspender links to my tabs from my Google Chrome session, the windows of which ...
The Mouse Avenger's user avatar
-2 votes
1 answer
31 views

I want to add my two database file into commit, but there was a trouble occurs

I works on git-bash window, and when I want to add my database file in commit there was problem occurs when I try to do this command "$ git add --all" the problem says: "error: open(&...
Abdulrahman Fakron's user avatar
0 votes
0 answers
10 views

I would like to create a barcode to do the function of page down on a Eyoyo scanner. Is that possible?

I would like to create a barcode to do the function of page down on a Eyoyo scanner. Is that possible? could not find one online
Karen Hunter Kohut's user avatar

1
2 3 4 5
213