NOTE:
The scripts and programs in this directory may have had a ".txt" suffix
added, to make sure that they are treated as text when your browser
downloads them. You may need to remove the ".txt" suffix to compile
or run them on your own computer.
Jan 20 01:57 2017week01notes.htmlOrientation, Introduction, and Course Linux Server Mar 13 09:11 2017week02notes.htmlthe shell, arguments and options, man pages, pathnames absolute and relative Mar 13 09:08 2017week03notes.htmlabsolute and relative paths, ROOT and HOME, finding files, file GLOB patterns Mar 13 09:11 2017week04notes.htmlI/O redirection, pipes, stdout, stderr, 2>&1 Feb 11 02:39 2017week05notes.htmlawk fields, variables, start-up files .bashrc, text editors: vim, nano, Midterm Test #1 Mar 6 00:42 2017week06notes.htmlSearch PATH, Quoting, File System, Inodes, Hard Links Mar 13 09:12 2017week07notes.htmlInodes, Hard links, Disk usage, quotas, symbolic links, modes, permissions, chmod Nov 30 01:58 2017week08notes.htmlmodes, permissions, chmod, umask, compression, gzip, tar, diff, log files, processes Mar 21 15:28 2017week09notes.htmlDelayed and Repeated Scheduled Execution with cron and at, Midterm #2 Dec 11 02:30 2017week10notes.htmlMidterm 2 Analysis, Server Attacks, Shell Scripts Jan 31 01:54 2019week11notes.htmlShell Scripts, the test helper program, class photo montage Jan 6 02:14 2018week12notes.htmlShell Scripts, loops Jan 6 02:14 2018week13notes.htmlShell Scripts, writing and debugging Apr 13 02:22 2017week14notes.htmlShell Scripts; preparing for the Final Exam May 10 00:46 2017week15notes.htmlCourse Evaluation, Final Exam Results, Final Grades
Course Notes (alphabetical order)
Jan 20 00:48 2017000_README.htmlREADME for CST8207 – GNU/Linux Operating Systems I Apr 9 10:04 2018000_network_diagnostics.htmlNetwork Diagnostics: Finding and fixing problems Oct 13 02:19 2017000_student_web_site.htmlStudent Web Site – Student Photo Oct 10 14:52 2018000_test_instructions.htmlInstructions for writing Tests and Exams Jan 20 00:48 2017003_outsourcing.htmlOutsourcing your computer job for $5/hour Nov 5 03:13 2018005_this_is_your_brain.htmlThis is your Brain on the Internet – Multi-Tasking research Feb 11 14:45 2019008_how_to_report_problems.htmlHow to ask good questions and report problems well Mar 1 02:59 2019010_why_linux.htmlWhy Learn the Unix/Linux Command Line and Shells? Aug 30 21:55 2018015_file_transfer.htmlFile transfer to/from Unix/Linux machines Sep 5 02:38 2017020_learning_sysadmin.htmlLearning and Loving the System Administrator Job Aug 26 14:02 2018030_modern_education.htmlThe roles of professor and student in modern education May 28 00:20 2017050_course_introduction.htmlCST8207 Introduction to the Course, Outline, Timetable, Marks Dec 10 11:17 2018070_course_linux_server.htmlThe Course Linux Server [CLS] Sep 6 12:58 2017110_remote_login.htmlRemote Network Log In Between Computers Jan 15 07:47 2019120_shell_basics.htmlUnix/Linux and Shell Basics – miscellaneous small topics Oct 4 17:44 2018140_man_page_RTFM.htmlSearching for items in the Unix manual pages (RTFM) Jan 21 09:59 2018150_arguments_and_options.htmlCommand Arguments and Options Jan 6 04:23 2019160_pathnames.htmlUnix/Linux File System and Pathnames (ROOT, basename, absolute, relative, dot, dot dot) Sep 21 02:49 2017170_home_and_HOME.htmlDirectories: ROOT, /root, HOME, /home, and current Oct 10 00:34 2018180_finding_files.htmlSearching for and finding files by name, size, userid, modify time, etc. Jan 6 04:26 2019185_find_and_xargs.htmlUsing find -exec or xargs to process pathnames with other commands Jan 20 00:48 2017187_selecting_fields_awk.htmlSelecting fields from input lines using awk Mar 10 16:44 2019190_glob_patterns.htmlShell GLOB patterns (wildcard pathname matching) Jan 29 15:21 2019200_redirection.htmlUnix/Linux Shell I/O Redirection (including stdin, stdout, stderr, and Pipes) Jan 29 15:49 2019300_vi_text_editor.htmlThe VI (VIM) Text Editor Apr 11 12:48 2017320_shell_variables.htmlShell Variables – quoting, local variables, environment variables, USER HOME SHELL PATH TERM $$ Feb 22 09:57 2018350_startup_files.htmlLogin and Shell Startup Files, aliases, options: .bash_profile and .bashrc Feb 6 02:44 2017370_optional_settings.htmlBASH Shell Settings for Sysadmin (optional) Feb 13 01:44 2017400_search_path.htmlShell search PATH – finding and running commands Sep 3 12:03 2021440_quotes.htmlShell Command Line Quoting Mechanisms Jan 20 00:48 2017445_quotes_for_remote.htmlUnix/Linux Shell Quoting for remote shells Mar 1 04:02 2019450_file_system.htmlUnix/Linux File System – directories, inodes, hard links Nov 27 01:36 2017455_links_and_inodes.htmlHard links and Unix/Linux file system index nodes (inodes) Feb 19 01:12 2013455_links_and_inodesA.htmlHard links and Unix file system nodes (inodes) Feb 22 10:11 2017456_disk_error_autopsy.htmlAutopsy of a minor disk failure, fsck, lost+found Jan 20 00:48 2017457_disk_usage.htmlUnix/Linux Disk Usage, Hard Links, Quotas, Finding Inodes Mar 9 09:26 2017460_symbolic_links.htmlSymbolic Links – Soft Links – Symlinks Mar 1 03:58 2019500_permissions.htmlUnix Modes and Permissions, whoami, id, uid, gid, groups, ls -l, chmod Oct 22 19:48 2018510_umask.htmlPermissions masking with umask, chmod, 777 octal permissions Mar 8 04:21 2019525_tar_gzip_diff.htmlUseful programs: gzip,bzip2 - compression; tar,zip - file archiving; diff - comparison Aug 30 23:15 2018580_system_log_files.htmlUnix/Linux system logging, log files, kernel messages, syslog, klog, dmesg Mar 14 01:32 2019600_processes_and_jobs.htmlUnix/Linux Processes, Jobs, background, foreground, kill, killall Oct 29 18:50 2018630_crontab_at_job_scheduler.htmlDelayed and Repeated Scheduled Execution – at, cron, crontab, and mail Nov 1 17:32 2018700_shell_scripts.htmlShell Scripts – lists of commands, executable scripts, script header, command arguments and positi Dec 20 11:15 2017710_command_substitution.htmlShell Command Substitution – interpolate stdout into a command line using $(…) or `…` Nov 5 17:37 2018720_exit_status.htmlCommand exit status – variable $? Mar 23 04:40 2019725_debugging_shell_scripts.htmlShell Script Debugging – using options -uv and -ux Apr 9 02:13 2019730_control_statements.htmlShell Script Control Structures – if, then, else, elif, test, [...], shift, while, do, done, case, Apr 14 18:15 2019735_good_error_messages.htmlShell Scripts: Good Error and Usage messages: $0, $#, $*, and 1>&2 Nov 29 14:31 2018740_script_problems.htmlShell Script Problems – arithmetic, syntax, test, boolean, etc. Mar 23 05:45 2019750_script_style.htmlShell Script Style – programming conventions and style May 30 03:27 2017900_unix_command_list.htmlUnix/Linux Command List You Must Know (Weekly Cumulative) Jan 21 06:45 2018910_lynda_index.htmlIndex to lynda.com videos (weekly cumulative) Jan 29 11:12 2019950_linux_world.htmlLinux and Sysadmin News in the World
Worksheets
Jan 5 22:14 2019worksheet02.htmlLab Worksheet #2 - Fall 2013 Jan 5 22:14 2019worksheet02.odtLab Worksheet #2 - Fall 2013 - CST8207 - GNU/Linux Operating Systems I ; This is Lab Worksheet 2 - n Jan 5 22:14 2019worksheet02.pdf Jan 5 22:14 2019worksheet02.txtThis Lab Worksheet contains some practical examples that will prepare you to complete your Assignmen Jan 5 22:22 2019worksheet03.htmlLab Worksheet #3 - Fall 2013 Jan 5 22:22 2019worksheet03.odtLab Worksheet #3 - Fall 2013 - CST8207 - GNU/Linux Operating Systems I ; This is Lab Worksheet 3 - n Jan 5 22:22 2019worksheet03.pdf Jan 5 22:22 2019worksheet03.txtThis Lab Worksheet contains some practical examples that will prepare you to complete your Assignmen Feb 10 03:17 2016worksheet04.htmlLab Worksheet #4 - Fall 2013 Feb 10 03:17 2016worksheet04.odtLab Worksheet #4 - Fall 2013 - CST8207 - GNU/Linux Operating Systems I ; This is Lab Worksheet 4 - n Feb 10 03:17 2016worksheet04.pdf Feb 10 03:17 2016worksheet04.txtThis Lab Worksheet contains some practical examples that will prepare you to complete your Assignmen Jan 27 01:34 2017worksheet05.htmlLab Worksheet #5 - Fall 2013 Jan 27 01:34 2017worksheet05.odtLab Worksheet #5 - Fall 2013 - CST8207 - GNU/Linux Operating Systems I ; This is Lab Worksheet 5 - n Jan 27 01:34 2017worksheet05.pdf Jan 27 01:34 2017worksheet05.txtThis Lab Worksheet contains some practical examples that will prepare you to complete your Assignmen Jan 5 20:54 2019worksheet06.htmlLab Worksheet #6 - Fall 2013 Jan 5 20:54 2019worksheet06.odtLab Worksheet #6 - Fall 2013 - CST8207 - GNU/Linux Operating Systems I ; This is Lab Worksheet 6 – Jan 5 20:54 2019worksheet06.pdf Jan 5 20:54 2019worksheet06.txtThis worksheet is part of an optional BONUS assignment. You must successfully complete and hand in t Mar 19 03:21 2015worksheet08.htmlLab Worksheet #8 - Fall 2013 Mar 19 03:21 2015worksheet08.odtLab Worksheet #8 - Fall 2013 - CST8207 - GNU/Linux Operating Systems I ; This is Lab Worksheet 8 - n Mar 19 03:21 2015worksheet08.pdf Mar 19 03:21 2015worksheet08.txtThis Lab Worksheet contains some practical examples that will prepare you to complete your Assignmen
Assignments
Jan 24 02:57 2017assignment01.htmlMulti-tasking and Schoolwork Jan 22 22:01 2017assignment02.htmlCourse Linux Server simple commands Feb 12 06:32 2017assignment03.htmlworking with files: PS1, find, mkdir, mv, cp Jan 25 00:51 2017assignment04.htmlBONUS VIM assignment from Worksheet 6 Sep 25 04:21 2017assignment05.htmlGLOB wildcard patterns, finding files using GLOB, redirection and pipes Oct 6 00:07 2017assignment06.htmlCST8207 Bonus 06 – BONUS Midterm Test 1 topics review Mar 2 09:26 2017assignment07.htmlstart-up files, environment, search PATH, quoting, hard and soft links, disk usage Mar 28 04:16 2017assignment08.htmlsetting permissions, mode, umask, web site image Mar 24 04:11 2017assignment09.htmlCST8207 Bonus 09 – BONUS Midterm Test 2 topics review Apr 2 02:32 2017assignment10.htmltar, syslog, processes, mail, crontab, at, shell script Apr 12 14:11 2017assignment11.htmlShell Script Parameters and Control Flow Apr 13 11:55 2017assignment12.htmlBONUS the mkasst utility script
Shell Scripts
Oct 10 15:46 2014argv.sh.txtCount and display on STDERR each argument to this shell script.