CSC 271-Software I : Utilities and Internals
Dr. R. M. Siegfried
Assignment #10 - Programming with bash
Due Wednesday, November 8, 2017
Write a shell script to do the following:
- accept one or more command-line parameters; these will be
file names
- using a for each loop, print the long listing for
each file.
- if it is a regular file, display a message saying so.
- if its a directory, display a message saying so.
- At the end, display on the screen thenumber of regular files and directories.
[Back to the Assignment List]