Live Chat!

writting executable script

          0 votos

October 8th, 2006 mysurface

Shell script (sh), Bash script (bash), Python and perl are all scripting language. By default, to run a scripting file, for example Python script, you need to do this:
python myscript.py
Another example for shell script:
sh myscript.sh
But we make is executable and can execute by running directly like this
./myscript.py
If you place your script into directory that exported [...]

Posted in Bash, Developer, chmod, file, python, sh, which | Hits: 10967 | 1 Comment »