How do I run a shell script? (Debian)
How do I run a shell script on a Debian box?
Thanks in advance |
./shell-script will open a new shell and run shell-script, shell-script has to be executable (chmod +x shell-script)
. shell-script will run it in the current shell |
could just use "sh <yourscript>" too.
|
Quote:
Code:
bash yourscript Most people just use Code:
/path/to/the/script Code:
./script |
All times are GMT -5. The time now is 07:46 AM. |