Possible assignment
1)
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. (test whether it
is a regular file using -f [[ -f $yourvar ]]
if its a directory, display a messagesaying so. (test with -d)
At the end, dusplay on the screen thenumber of regular files and directories.
(remember to declare your variable as an integer declare -i count and put math
inside (()) )