|
|
|
||||||
|
Writing Shell ScriptsSo you want to run several things in succession? There are several ways to do this, but I'll concentrate on the shell script method here. A shell script is simply a list of commands that you put in a file and then execute. You can put any command in this file that you can normally run. Generally the file will look something like this: #!/bin/csh Splus BATCH file.s a.out < infile1 >& outfile1 sas < prog.sas a.out < infile2 >& outfile2 Create this file and make it executable by: chmod 700 script (The a.out, sas, and Splus commands are just examples, put whichever commands you want in the script.) Now you can run this file like any other command, but remember to renice it, by: renice -u your_username Notes:
|
|
If you have trouble accessing this page, or need an alternate format contact webmaster@stat.osu.edu. |