Friday, October 28, 2011

OS Exercise Submission Scripts

Every week, you might feel that the file name of the command script for exercise submission is lengthy. If so, you should include the course directory into your command path. For example, add the following line into .cshrc

set path = ($path /home/course/os11f6/Ex)
if you're using csh (or alike), or
export PATH
into .bash_profile for bash users. Now you can just type the file name (for example, ex2-test rather than /home/course/os11f6/Ex/ex2-test).

No comments: