Lab 15



  1. Write a shell that will remove files that have a zero length in the current working directory. Do not use the find command.
    $ ls -l testfile*
    -rw-r--r--   1 akochis  staff       0 Mar 08 11:06 testfile
    -rw-r--r--   1 akochis  staff       0 Mar 08 11:07 testfile2
    $ ./s15
    deleting testfile
    deleting testfile2
    

© Allan Kochis Last revision 5/31/2005