How do I use the run
command (I assume it is used on the terminal). for example, I received an instruction to run /opt/COMODO/post+setup.sh --
then, after that i would do etc/init.d/cmdavd restart
...my problem is that I cannot get the terminal to accept a run command. Thank you, Richard Volta
As Zachree1 also said there is no
run
in linux. What you need is./
. In linux, if you want to execute a file you make it have executable permission and put./
before it to run. In your case you will have to doFirst make it executable
Then run it
Put a
sudo
in front of command if it saysOperation not permitted
orPermission Denied
.After that, since
cmdavd
is inside/etc
you will require sudo permissions, so command would be,Hope that clears it up
To run something in the terminal you just type it in. In your case:
/opt/COMODO/post-setup.sh
and then/etc/init.d/cmdavd restart
. Puttinsudo
before both commands is also probably best.There is no command to run something in the terminal, you just run it by typing its path.