Kurinchi Blogger Scribbles …


Posts Tagged ‘setting path variable’

Mar 21
2010

Shell Scripting: Saving Shell scripts

Last updated: March 20th, 2010

For example, if we have shell script named “myshellscript.sh” (with execute permission) we can make it run in the current working directory with the commands

$ sh myshellscript.sh (or)
$ ./myshellscript.sh

If the shell scripts are stored in an executable path, it will save us from typing extra keystrokes. To find the paths that are setup, type

$ echo $PATH
/usr/bin: /usr/local/bin

(more…)


Valid HTML 4.01 Strict  Valid HTML 4.01 Strict