Another tip for *NIX users
Occasionally commands can get too complex to enter on a command line. Perhaps the command is a very common one which is used frequently. Maybe there is a series of commands. The solution is a shell script. Enter all the commands into a text file. After exiting the file, perform a "chmod 700" on the file. This turns the text file into a shell script. Shell scripts can still be edited with a text editor.
It is best to set up the shell script so it can be invoked from any directory. Then the script can be moved to a location where it may be invoked from anywhere. This information is contained in the "PATH" environment variable.
It is best to set up the shell script so it can be invoked from any directory. Then the script can be moved to a location where it may be invoked from anywhere. This information is contained in the "PATH" environment variable.
0 Comments:
Post a Comment
<< Home