Linux User Concepts - Parkland    

Last Modified:
Wednesday, 18-Oct-2017 10:12:52 CDT

CSC128: Outline Fall 17


Module 1 - Basic Utilities and the Linux Filesystem

Week 1 - Aug. 21
Week 2 - Aug. 28
Week 3 - Sept. 5
Sept. 4 -Labor Day
Week 4 - Sept. 11

Module 2 - Editing Files using the vi editor

Week 5 - Sept. 18 Week 6 - Sept. 25

Module 3 - Understanding the Bourne Again Shell and shell scripting

Week 7 - Oct. 2 Week 8 - Oct. 9
Week 9 - Oct. 16 Week 10 - Oct. 23

Module 4 - Regular Expressions and stream editing

Week 11 - Oct. 30 Week 12 - Nov. 6

Module 5 - Web Programming, scheduling jobs, manipulating groups

Week 13 - Nov. 13 Week 14 - Nov. 20
Thanksgiving Break
Begins Wed. 5pm
Week 15 - Nov. 27 Week 16 - Dec. 4

Week 1: Aug. 21


Links, Reading, Class Overview:

Introduction to Linux, Logging in and Basic Shell Commands


Practice Basic Commands:

These wikipedia pages all have a good listing near the bottom of the main basic utilities that you will need to learn for this course.
Video:

Labs:

Week 2: Aug. 28


Links, Reading, Class Overview:

Basic utilities and the Linux Filesystem - Chapters 3 and 4
Video:

Labs:

Week 3: Sept. 5
Sept. 4 -Labor Day


Links, Reading, Class Overview:


Exam 1 Will be Week 4 on the first day of class .

Linux Filesystem Continued and Linux Filesystem Advanced


Video:

Labs:



For Next Week:



Week 4: Sept. 11


Links, Reading, Class Overview:

  • Exam I Ch 1-4


Introduction to vi (pronounced vee-eye)

Video:

Labs:
  • Lab - In class practice vi and Ex5 and vimtutor and I will take roll for 10 points

For next Week:
Exercise 5 - vi

Week 5: Sept. 18


Links, Reading, Class Overview:




vi (pronounced vee-eye) continued
Video:



Labs:


For next Week:
Exercise 5 - Vi
You may take this Exercise as many times as you wish before
the due date posted in Cobra Learning .




Week 6: Sept. 25



The shell and Redirection Ch 5 and 8

Video:

Labs:



For Next Week:


Exercise 6 - Ch 5: the Shell and Redirection
You may take this Exercise as many times as you wish before
the due date posted in Cobra Learning .

Week 7: Oct. 2


Links, Reading, Class Overview:



The shell and Redirection Ch 5
The Bourne Again Shell Ch 8 Startup Files Book p.278
Video:

Labs:

For Next Week:

Exercise 7 - Ch 5 and 8: the bash Shell I
You may take this Exercise as many times as you wish before
the due date posted in Cobra Learning .
Exercise 8 - Ch 8: the BASH Shell Part II
You may take this Exercise as many times as you wish before
the due date posted in Cobra Learning .

Week 8: Oct. 9

Links, Reading, Class Overview:


Exam 2 - Will cover Ch 6 vi, Ch 5 The Shell and Ch. 8 BASH
It will be in week 9 on Day 1.

Day 1 - finish Ch5 and 8

Introduction to Shell Scripting Ch 10

Video:

Labs:

For Next Week:

Exercise 9 - Ch 10 Shell Scripting




Week 9: Oct. 16


Links, Reading, Class Overview:

Exam 2: This Week Ch6 vi, Ch 5 The Shell, Ch 8 bash


Day 2: Continue Shell Scripting and Project 1
  • if statements
  • both styles of test
  • while and until loops


Video:

Labs:

For Next Week:

Project 1 Due date posted in Cobra.
Project 1 video


Week 10: Oct. 23


Links, Reading, Class Overview:




Project I and II assigned



More on Shell Scripting
Video:


Labs:


For Next Week:



Project 1 Due date posted in Cobra.
Project 1 video


Project 2 Due Due date posted in Cobra.
Project 2 video


Week 11: Oct. 30


Links, Reading, Class Overview:

Finish Shell Scripting - functions
Assign Project 3

Exam 3 - shell scripting is Week 13


Regular Expressions


Video:

Labs:


For Next Week:


Project 3
Due date posted in cobra.
Project 3 video

Exercise 10 - Appendix A - Regular Expressions

Week 12: Nov. 6


Links, Reading, Class Overview:


Exam 3 - shell scripting is Week 13
Stream Editing Using sed
  • Ch 15 The sed editor
  • Using sed
  • See Part V the command reference in the book for a good explanation of how sed works
  • Some of my sed data and scripts
  • sed's process for going through a file
  • man wget - you need to get my web page to edit by using this command:
    wget www.csit.parkland.edu/~smauney/csc128/outline.shtml
    To get the cascading stylesheet for my web site it would be: wget www.csit.parkland.edu/~smauney/default.css because you are editing the source of this file and I use server side html to put the web page together from multiple files.


The awk pattern matching language
  • Ch 14 the awk pattern processing language
  • Using awk
  • Some of my awk data and scripts
  • Note that your awk and sed scripts are NOT executable since the
    executable is awk or sed itself when running the script.



Video:

Labs:


For Next Week:


Exercise 11 - sed


Exercise 12 - awk
You may take this Exercise as many times as you wish before the due date in Cobra

Week 13: Nov. 13


Links, Reading, Class Overview:


Exam 3 - shell scripting

grep find tar and diff

Video:

Labs:

For Next Week:

Exercise 13 - tar and find
You may take this Exercise as many times as you wish before the due date in cobra

Week 14: Nov. 20
Thanksgiving Break
Begins Wed. 5pm


Links, Reading, Class Overview:


Basic Web Programming and HTML
  • Using html
  • W3 html School
  • html validator
  • Server Side HTML
  • You can always copy the file /etc/skel/public_html/index.html to get a basic valid page to start with
  • Our error log file is located on www.csit.parkland.edu at
    /var/log/httpd/vhosts/www/error_log
    tail that file after you generate your error to see what your problems are.




Video:
Basic Linux Web Programming and HTML

Labs:

  • html Lab
    Due by: See Schedule in Cobra.

For Next Week:

Week 15: Nov. 27


Links, Reading, Class Overview:


Chapter 17 Secure Shell Communications ssh sftp and ssh-keygen

  • using sftp
  • scp secure copy utility
  • sftp see the book command reference on ftp and note that most of the operation of ftp and sftp is the same commands such as get put ls pwd work the same with sftp as ftp which we no longer use since ftp transfers your password in clear text.
  • man wget
  • man ssh-keygen
  • ssh-keygen -t rsa is the command you run to create your Public/Private key pair.
  • ssh-keygen
  • man ssh and Command reference in the book on ssh
  • man ssh-keygen then you can search for terms like authorized_keys etc.
  • If you are using a Windows machine and want to move a file to a *nix server you should use a freeware program called WinSCP freely available on the Internet
Scheduling jobs using crontab and at
  • crontab and at
  • cron at Wikipedia
  • at at Wikipedia
  • man crontab
  • man at
  • cron.allow cron.deny at.allow at.deny
  • atq and atrm and at -c [number] (concatenate an at job)
  • at and crontab in the command reference back of book
  • crontab -e is how you edit your crontab file. It is opened in the vi editor and you place one instruction per line and is then "installed" for you in /var/spool/cron/[yourinstalledcrontab_file] note that you cannot go there and see it directly
  • use mail to check that your cron and at jobs ran

Video:

Labs:
  • ssh-keygen lab
    Due at the beginning of class the last week.
    I will come and see you logging into www from shaula with no password required.
  • crontab Lab
    See this lab for the due date and time.

For Next Week:


Exercise 14 - sftp, ssh and ssh-keygen
You may take this Exercise as many times as you wish before the due date in cobra.

Week 16: Dec. 4


Links, Reading, Class Overview:


groups
  • groups and various group utilities.
  • id and/or groups tells you what your current group is (Your GID) and what groups you belong to
  • groupadd the utility root uses to add a new group to the system
  • chgrp change the group ownership of a file
  • newgrp [group]open a subshell with a new GID. Note that you type exit to get back to your original login group
  • The file/etc/group contains the group information
  • man 5 group will show you the format of the /etc/group file
  • Groups can be password protected by root or the administrator of a group
  • The Main Index p. 1128 has the pages of several groups references in the book.
  • See chmod p. 741 and especially p. 742 in the book shows relevant numerical arguments to chmod

Class Review
  • Look at ispell, the *nix spell checker
  • note that any system running X will have OpenOffice (or Koffice or Goffice etc.) which is basic standard Office software
  • There is a huge community of free software available on the Internet, from scripts to manage systems, video and graphics programs to graphical network monitoring tools and nearly anything else you can imagine.
  • GIMP the Graphics Image Manipulation Program is a free very good replacement for Photoshop

Video:


Labs:



For Next Week:

Exercise 15 - groups
You may take this Exercise as many times as you wish before the due date in Cobra


Sean's Finals Schedule

| Top |