Write a shell script, which will receive either the filename or the filename with its full path #during execution. This script should obtain information about this file as given by ls –l and #display it in proper format.
echo "Enter any file name or file path" read file ls -l $file ------------------------------------------------------------------- output ------------------------------------------------------------------- Enter any file name or file path cut -rw-r--r-- 1 mca258 502 0 Sep 22 15:53 cut