COSC350 SYSTEM SOFTWARE, FALL 2020

Fall 2017 (08/31/12~ 12/11/20)

 

Week

Lecture Notes

Announcement

Week-01

(08/31/20  ~ 09/04/20)

Note #0.PDF

         Syllabus

Note #0.1.PDF

         How to install virtual Linux on Window

Note #1.PDF

         What is LINUX

         What is GNU/LINUX Project

         Introduction to C Programming

         C System Environment

         C compilers in LINUX

         Linux System Roadmap

o   Header files

o   Libraries

         Static Libraries

         Shared Libraries

 

No Lab this week

Week-02

(09/07/20  ~ 09/11/20)

Note #2.PDF

         Linux System Roadmap

o   Libraries

         What is the shell

         Simple Bash Commands

         Redirecting Input and Output

         Pipeline

         Shell Scripts

Note #3.PDF

         Shell Scripts

         Shell Programming

         Shell Syntax

o   Variables

o   Quoting

o   Environment Variables

o   Parameter Variables

o   Condition

         The test or ď[ď command

Note #4.PDF

         Control Structures

o   if statement

o   if-else-if statement

o   for loop statement

o   while loop statement

o   until loop statement

o   case statement

 

Week-03

(09/14/20  ~ 09/18/20)

Note #5.PDF

         Functions

o   Function with local variable

o   Function with return value

o   Bash recursive function

         Other Commands

o   break Command

o   continue Command

o   eval

o   exit

o   export

o   expr

o   printf

o   set

o   shift

 

Note #6.PDF

         File System

o   File Name, File Structure, File Types, File Access, File Attributes, File Operation

         Directories

o   Directory Operations

         File System Layout

         Implementing File

o   Contiguous Allocation

o   Linked List Allocation

o   Linked List Allocation with File Allocation Table

o   Index-Node

         Implementing Directories

         Linux File Structure

 

 

Mini-Test #1 9/18/20

Note #1 ~ Note #5

Week-04

(09/21/20  ~ 09/25/20)

Note #7.PDF

         System Call

         Library Functions

         File Descriptors for a Process

         System Call for Managing Files

o   write()

o   read()

o   open()

o   close()

o   lseek()

o   pwrite(), pread();

 

Note #8.PDF

         System Call for Managing Files

o   sync(), fsync()

         File copy

         Command Line Argument

         File Sharing

         dup() and dup2() System Cal

         sat(), fsat(), lsat() system Call

         IDís for a process

         File Access permission

         access() System Call

 

 

 

Week-05

(09/28/20  ~ 10/02/20)

Note #9.PDF

         umask() system call

         chmod(), fchmod() system call

         File truncation with truncate()

         File system in Linux

         link(), unlink() system calls

         remove() and rename() system calls

Note #10.PDF

         link(), unlink() System Call

         remove(), rename() System Call

         Symbolic Links

o   Symbolic link to directory

o   Symbolic link to an executable file

         symlink() System Call

         File Times

o   utime() System Call

         mkdir() and rmdir() System Call

         chdir() Systemcall

         Standard I/O Libaries

         System Data Files and Information

         Password File

 

 

Mini-Test #2 (9/30/20)

Note #6 ~ Note#8

Week-06

(10/05/20  ~ 10/09/20)

Note #11.PDF

         System Data Files (/etc)

o   Password File

o   Shadow Password File

o   Group Password File

o   Other System Data Files

         Hosts

         Networks

         Protocols

         Services

o   Login Account

o   Time and Date

 

 

 

Midterm #1(10/7/20 and part of 10/9/20)

(Note #1 ~ Note #9)

Week-07

(10/12/20  ~ 10/16/20)

 

 

 

 

Week-08

(10/19/20  ~ 10/23/20)

 

 

 

 

Week-09

(10/26/20  ~ 10/30/20)

 

 

 

 

Week-10

(11/02/20  ~ 11/06/20)

 

 

 

 

Week-11

(11/09/20  ~ 11/13/20)

 

 

 

 

Week-12

(11/16/20  ~ 11/20/20)

 

 

 

 

Week-13

(11/23/20  ~ 11/27/20)

 

Thanksgiving Break

(11/25/20 ~11/27/20)

 

Week-14

(11/30/20  ~ 12/04/20)

 

 

 

 

Week-15

(12/07/20  ~ 12/11/20)

 

 

 

 

Final Exam

(12/14/20  ~ 12/18/20)