command Questions
3
Solved
I've just gotten into writing discord bots. While trying to follow online instructions and tutorials, my bot would not respond to commands. It responded perfectly fine to on_message(), but no matte...
3
Solved
I'm creating a hello_world.txt in the desktop using echo in command prompt and this is my input.
echo hello world > C:\Users\user\Desktop\hello_world.txt
The first code works, then I try %user...
Sacking asked 10/6, 2015 at 12:23
5
Solved
Is it possible to run a command multiple times with different parameters?
Something like:
sudo apt-get install asd && install qwe && remove ert && autoremove && au...
2
Solved
I want to run a custom command say "run mspaint.exe" from eclipse..How can i do that? I want to run more complex commands written by me but i want to run from eclipse because the resources are in m...
3
I have an error when run TOP command:
>top
'xterm': unknown terminal type.
> echo $TERM
xterm
> echo $DISPLAY
DYSPLAY: Undefined variable.
> cat /etc/redhat-release
Red Hat Enterpri...
3
Solved
I'm using the following command to get a list of pipes:
lsof | grep PIPE
I want to know what the values of the FD column mean (the 5th one https://i.sstatic.net/zkjCn.png). I think that r and w...
Assumpsit asked 5/8, 2014 at 14:1
6
Solved
For some odd reason, the "whatis" command in my Unix shell (cygwin) is not working. It constantly returns "ls: nothing appropriate" or "cd: nothing appropriate". I'm wondering if there is something...
5
I know how to run a command using cmd = subprocess.Popen and then subprocess.communicate.
Most of the time I use a string tokenized with shlex.split as 'argv' argument for Popen.
Example with "ls -...
Lysozyme asked 12/9, 2011 at 14:43
3
Solved
I am installing helm through a script which uses these commands to install the latest version -
curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3.2.0
c...
Enedina asked 14/7, 2020 at 6:25
3
I was a little confused with below command:
kubectl run busybox --image=busybox --restart=Never -o yaml --dry-run -- /bin/sh -c 'echo hello;sleep 3600'
YAML:
apiVersion: v1
kind: Pod
metadata:
...
Prothesis asked 9/12, 2019 at 11:50
3
Solved
How do I get the name of the Attached databases in SQLite?
I've tried looking into:
SELECT name FROM sqlite_master
But there doesn't seem to be any information there about the attached databases.
...
Priapus asked 6/8, 2013 at 5:43
5
Solved
Let's say I'm coding a command. How would I stop it completely in the middle of it running?
Example:
public function handle()
{
if (!$this->good_times) {
$this->error('Bad times');
$this...
12
Solved
I would like to store a command to use at a later time in a variable (not the output of the command, but the command itself).
I have a simple script as follows:
command="ls";
echo "C...
6
Solved
It shows "'brew' is not recognized as an internal or external command" in windows command prompt.
I am trying to install codeigniter-reactjs-example from github, where first command is brew.
How...
Checkpoint asked 3/7, 2017 at 13:5
21
Solved
flutter doctor doesn't work on either Command Prompt or PowerShell window?
I have been trying to install flutter on windows. I have cloned the Flutter SDK as mentioned in the tutorial. I have added...
Smedley asked 2/4, 2018 at 10:52
3
is there a way to call a program from python without waiting for it to return? i created a script which copies a program to a directory and runs that program. but when i call the program from pytho...
Brierwood asked 8/4, 2010 at 17:23
8
Solved
I tried to install Ruby 2.0. My command line urped and now looks like the following:
-bash: __git_ps1: command not found
[11:58:28][whatever@whatever ~]$
I have not a clue how to get rid of the _...
10
Solved
I have been using the following command to get the file date. However, the fileDate variable has been returning blank value ever since we moved to a different server (Windows Server 2003).
FOR /f ...
Aphonia asked 21/1, 2010 at 17:24
16
Solved
I have run into an issue with WPF and Commands that are bound to a Button inside the DataTemplate of an ItemsControl. The scenario is quite straight forward. The ItemsControl is bound to a list of ...
Jaundiced asked 2/12, 2008 at 23:49
3
I want to search for files with basename matching regexs. I tried this:
$ find '/my/path' -regextype posix-extended -regex 'reg1' -regex 'reg2'
My problem is that regex is tested against full pa...
10
Solved
I am working on a script that needs to perform an action in every sub-directory of a specific folder.
What is the most efficient way to write that?
Disused asked 22/10, 2010 at 20:15
7
Solved
I have copied a URL, such as git://gitorious.org/openhatch/oh-mainline.git. I want to paste this in the terminal using a keyboard shortcut.
Please don't say "right click and paste."
8
Solved
I am using IPVanish for using a proxy while surfing; like:
sudo openvpn --config /home/ipv/conf/ipvanish-CA-Toronto-tor-a09.ovpn
Now, I have to enter my username, after that my password.
H...
8
I am running this command:
C:\Users\Murali\my-first-app>ng g c abcde5 --dry-run -t -s --spec=false
I am receiving the following error:
Unknown option: '--spec'
How can I correct my command t...
Dessert asked 6/6, 2020 at 7:46
5
I can't install the most recent version of Vue, either globally or locally.
I have this error, for both installations. I don't understand why Node is not recoginized as a command as it works well ...
© 2022 - 2024 — McMap. All rights reserved.