25-07-2012, 11:57 AM
Unix commands
Unix.ppt (Size: 43.5 KB / Downloads: 22)
For those who’ve never used Unix before
Quick tutorial to let you move around your Unix Accounts
No discussion of inner workings of Unix
Take Operating Systems – CSCI-4210
Comparisons to Windows/DOS commands
What are the machines?
rcs.rpi.edu – takes you to a random OS
rcs-sun4.rpi.edu – takes you to a Sun machine
THIS IS THE MACHINE TO USE FOR ALL HOMEWORK AND INCLASS SUBMISSIONS!!
rcs-ibm1.rpi.edu – takes you to an IBM machine
If you’re on campus, you must use SSH (instead of Telnet) to connect to these machines. Download TeraTerm SSH or SecureCRT
User Friendly chmod
Can specify modes without using octal representations.
Still a 3 character code.
First char: u (user), g (group), o (other)
Second: + (add permissions) or - (remove permissions)
Third: r (read), w (write), x (execute)
chmod u+x file.pl
give yourself execute permissions on file.pl
chmod o+r file.pl
give others (ie, world) read permissions on file.pl