Week 1 notes
Concepts
Permissions - all files have unique permissions that control access, ls -la will reveal all your file permissions in your current working directory.
Mount Points - There are no drive letters in Unix, all additional file systems are added to one big tree. New file systems are attached to directories.
Common commands
The basics
- exit : exit current shell
- ls : list files
- cp : copy files
- mv : move files
- rm : remove files
- cd : change working directory
- pwd : print working directory
- mkdir : make directory
- rmdir : remove directory
- man : view manual page, used man command example: man passwd
- apropos : search through manual pages for text
- passwd : change passwd
- vi, emacs, pico : text editors
- chmod : change permissions on a file
Assorted cruft.
- cat > filename - Allows you to create a text file 1 line at a time. More later.
- [control] [d] - sends an end of file.
- [shift] [page up] or [shift] [page down] - will scroll your screen up or down
- [control] [c] - stops the currently running program
Points of interest
The Linux Documentaion Project is a huge Documentaion Project from University of North Carolina Linuxdoc.org
One particularly interesting point is DOS/Win to Linux HOWTO
I didn't mention this in class but there is a good ssh(faster than java) client for Windows called PuTTY