% CST8207 Week 11 Notes – processes, jobs, background, kill, killall, crontab, at, mail % Ian! D. Allen - - [www.idallen.com] % Winter 2014 - January to April 2014 - Updated Mon Nov 10 15:23:00 EST 2014 Readings, Assignments, Labs, and ToDo ===================================== - Read (at least) these things (All The Words): - [Week 11 Notes HTML] – this file – **Read All The Words** - [Unix/Linux Processes, Jobs, background, foreground, kill, killall] - [Delayed and Repeated Scheduled Execution - at, cron, and crontab] - [Users and Groups - /etc/passwd, /etc/group, su, sudo, chsh, useradd, gpasswd, etc.] - [Unix/Linux Partitions and File Systems - fdisk, mkfs, mount, swap] - [List of Commands You Should Know] - [Video Tutorials on Lynda.com] - Using your [lynda.com] account, watch [Unix for Mac OS X Users] - **5. Commands and Programs 52m 34s** - System information commands 3m 40s - date, uptime, users, who, uname, hostname, domainname - Viewing processes 5m 0s - ps - Monitoring processes 3m 36s - top - Stopping processes 3m 19s - kill Assignments and Lab work this week ---------------------------------- Check the due date for each assignment and put a reminder in your agenda, calendar, and digital assistant. The worksheets are available in four formats: Open Office, PDF, HTML, and Text. Only the Open Office format allows you “fill in the blanks” in the worksheet. The PDF format looks good but doesn’t allow you to type into the blanks in the worksheet. The HTML format is crude but useful for quick for viewing and searching online. - Read All The Words, Do, and then Submit via Blackboard: - [Assignment #08 HTML] – CentOS installation and configuration - You need to get this working before you can do the final assignments in this course. See your instructor for help. - [Assignment #10 HTML] – [Permissions], [Umask] - [Assignment #11 HTML] – processes, syslog, crontab, at, mail, tar - [Package Management], [System Logs], [Processes][Unix/Linux Processes, Jobs, background, foreground, kill, killall], [Cron and At][Delayed and Repeated Scheduled Execution - at, cron, and crontab] - [Assignment #12 HTML] – [Users and Groups][Users and Groups - /etc/passwd, /etc/group, su, sudo, chsh, useradd, gpasswd, etc.] - Really do **Read All The Words**. You don’t get a second chance to get it right. - [Worksheet #08 ODT] - [Worksheet #08 PDF] - [Worksheet #08 HTML] - permissions, mode, `chmod`, `umask` - minimum permissions needed for basic file operations ### Optional Bonus Assignments – extra marks - [Assignment #03 HTML] – *Optional* BONUS VIM Text Editor Practice - this is an *optional* worksheet for a BONUS assignment using `vim` - Optional Reading: [The VI (VIM) Text Editor] - [Worksheet #06 HTML] – *Optional* VIM Text Editor Practice - this is an *optional* worksheet for a BONUS assignment using `vim` - Optional command-line VIM tutorial: the `vimtutor` program on the CLS. - [Assignment #09 HTML] – BONUS assignment to review second midterm test - this is an *optional* BONUS assignment worth extra credit - there is a checking script available to verify the format of your file From the Class Notes link on the Course Home Page ================================================= - Review last week. Did you do everything assigned last week? From the Classroom Whiteboard/Chalkboard ======================================== - **Take notes in class!** Your in-class notes would go here. - Your selected editor for `crontab -e` is in `~/.selected_editor` and can be changed with `select-editor` - Choose VIM. Your CentOS Linux install has no other editor. - In-class symlink exercise on the CLS: Create one of these symbolic link targets in /tmp Use your CLS userid as the link name in /tmp You may have to remove an existing name first Easy target: linux Medium target: symbolic link Hard target: $$$ It's a "symbolic link" $$$ You can check your work by executing the script `/tmp/do.sh` Locked Out Bypass ----------------- You can use the tunnel I set up earlier to get around a home IP address block into the CLS, using port `2222` and host `cst8207-2222.idallen.ca` Real Sysadmin Work ================== - The [Future of VIM] - [NSA hunts System Administrators] - [Take Notes In Class] ![Take Notes in Class] -- | Ian! D. Allen - idallen@idallen.ca - Ottawa, Ontario, Canada | Home Page: http://idallen.com/ Contact Improv: http://contactimprov.ca/ | College professor (Free/Libre GNU+Linux) at: http://teaching.idallen.com/ | Defend digital freedom: http://eff.org/ and have fun: http://fools.ca/ [Plain Text] - plain text version of this page in [Pandoc Markdown] format [www.idallen.com]: http://www.idallen.com/ [Unix/Linux Processes, Jobs, background, foreground, kill, killall]: 600_processes_and_jobs.html [Delayed and Repeated Scheduled Execution - at, cron, and crontab]: 630_crontab_at_job_scheduler.html [Users and Groups - /etc/passwd, /etc/group, su, sudo, chsh, useradd, gpasswd, etc.]: 700_users_and_groups.html [Unix/Linux Partitions and File Systems - fdisk, mkfs, mount, swap]: 720_partitions_and_file_systems.html [List of Commands You Should Know]: 900_unix_command_list.html [Video Tutorials on Lynda.com]: 910_lynda_index.html [lynda.com]: https://lyceum.algonquincollege.com/Lynda [Unix for Mac OS X Users]: http://wwwlyndacom.rap.ocls.ca/Mac-OS-X-10-6-tutorials/Unix-for-Mac-OS-X-Users/78546-2.html [Permissions]: 500_permissions.html [Umask]: 510_umask.html [Package Management]: 520_package_management.html [System Logs]: 580_system_log_files.html [Worksheet #08 ODT]: worksheet08.odt [Worksheet #08 PDF]: worksheet08.pdf [Worksheet #08 HTML]: worksheet08.html [The VI (VIM) Text Editor]: 300_vi_text_editor.html [Future of VIM]: https://github.com/neovim/neovim/wiki/Introduction [NSA hunts System Administrators]: https://eff.org/r.yby9 [Take Notes In Class]: http://read101.ca/1013/03/algonquincollege.html [Take Notes in Class]: data/remember.jpg "Take Notes in Class" [Plain Text]: week11notes.txt [Pandoc Markdown]: http://johnmacfarlane.net/pandoc/