CSC352

Examples

           Opening a file

           Reading from a file

           Using perror (just errno)

           String functions  (strtok)

           Time functions

           Command-line arguments

           Copy a file

           Fork system call

           Wait system call

           Names pipes example - reader and writer

           Bourne shell scripting parameters

           Bourne shell scripting variables

           greetings (Bourne script to print a simple greeting based on current time)

           grepdir (Bourne script to search all files in directory and sub-directories for a string/argument)

           finder (Bourne script to find a file or files in a directory)

           whereiz  (search PATH and print location of executable file passed as argument)

           mysystem.bash  (Bash script to display system information)

           Signals example1 (sigTalk.c)

           Signals example2 (timeout.c)

           Socket example (sum)
               server
               client
               utility functions

               makefile



Lisa Frye, PhD frye@kutztown.edu
Old Main 254 (610) 683-4422 (office)
(484) 619-3132 (ONLY during office hours)
Office Hours (F2F and Online via Zoom or MS Teams):
  Mon   2:30-4:00pm  Tue  8:00-10:00am  
  Wed   2:30-4:00pmm Other times by appointment