Things to know for the CS 302 final exam Users How do I add a user? What information is in /etc/passwd, /etc/shadow, /etc/group and /etc/gshadow What is a userid? userid = 0 means what? Permissions How to read the output of 'ls -l'. What permissions do I need to read/write/execute/delete How do I change permissions Crontab crontab -e -- edits the crontab crontab -l -- lists the crontab crontab --help Can you do something like "Every tuesday at 3:12am" Can you do "every hour" Apache What is documentroot? Where is it set? If I try and access http://me.nmu.edu/~fred, which files will it look for? Where are the log files? What is the difference between mods-available and mods-enabled The thing. Email SMTP vs POP vs IMAP What is mydestinations? How do I make an alias? What's the file, and what's the command? How do I make a .forward? Where does it go? Where are the log files? What is relay access denied How do we block spam black lists baynsian analysis features of the email header Command Line How do i find out if a service is running. How do I find a file given it's filename? (find command) How do I find a file given some text within the file (grep command) What is /dev/null and how do I throw away errors? What are the filename matching wildcards. * - zero or more character ? - one character [0-9] - one character in a range Piping: What does "ls | wc -l" do? How many programs run? Given the output of 'ls -l' who can read/write/delete a file? Shell Scripting What does #!/bin/bash do? How do I run a command and put the results in a variable (backtics) How do for loops and while loops and if statements work? Know how cut works. Know what backtics ` do For loops in shell (i.e. for i in /home/*) What is $1 and $2? Samba How do I make a share named after a user? How do I set someone's password? How do I delete their account? How do I make a share not named after a user? How do I make a share read only? NFS What infomation is in /etc/fstab? What infomation is in /etc/exports? How do I mount one time only by hand (the mount command) The Cloud About how much does it cost to have a cloud computer What are some advantages (cheap, great connectivity, reliable, no labor for setup, etc) What are some disadvantages (not on local wire, secrecy etc) Does anyone run servers on bare metal in 2021? (Yes, but the trend is strongly towards fewer) Apt-get install delete purge