------------------------ Week 6 Notes for DAT2330 ------------------------ -Ian! D. Allen - idallen@idallen.ca Remember - knowing how to find out an answer is more important than memorizing the answer. Learn to fish! RTFM! (Read The Fine Manual) ------ Review ------ In Week 5 (week05notes.txt) you learned about the search PATH and foreground/background jobs. You received Exercise #5 and submitted it by the due date. You now know some basic meaning and usage of these Unix/Linux commands: bash passwd pwd cd mkdir rmdir rm ls vim cat more less man echo cp stty du wc date chmod who mesg mv head tail touch sort grep file diff sleep which whereis ^Z fg bg kill ------------------ This Week (Week 6) ------------------ Topics: * File and Directory Permissions * Inodes and hard links to files * Usenet news grous (Announcements and Discussion) * new Course Linux Server * the "tar" command * the "scp" command Course Linux Server (a real Linux machine!): * I've set up a real Linux machine for your next few assignments. (This new machine has much better man pages than ACADUNIX!) * name: idallen.ca (backup connection: alt.idallen.ca) * accessible only via the secure SSH protocol via port 2330 $ ssh -l abcd0001 -p 2330 idallen.ca (replace abcd0001 with your Algonquin userid) If you use Windows, you must use the PuTTY program (or other SSH-capable program) to connect to idallen.ca using the SSH protocol and port number 2330 (not the default ssh port 22). PuTTY requires you to choose the protocol (SSH) before you set the different port number (use port 2330 for idallen.ca and alt.idallen.ca). Your password on this Linux Server is new - see Exercise 6. Unix commands used this week (RTFM): chmod ln ssh tar scp ftp 1. Readings in Running Linux: * "File Ownership and Permissions" p.100 * "What Permissions Mean" p.101 - different meaning for a directory * "Owners and Groups" p.101 * "Changing the Owner, Group, and Permissions" p.103 * "Using tar" p.178 2. Read these new files under the Notes button on the course home page: file_system.txt - Unix/Linux File System unix_permissions.txt - understanding Unix permissions shell_script_execution.txt - How a Shell Script is "Executed" file_transfer.txt - File transfer between machines 3. Start work on DAT2330 Exercise #6. Submit it by the due date.