Write a Shell Script to check then file is ordinary or not.
if [ $# -eq 0 ] then echo "enter proper parameter"elseif [ -f $1 ] then echo "file is ordinary" fi fi OUTPUT *********** [04mca58@LINTEL 04mca58]$ sh checkfile.sh f1 file is ordinary [04mca58@LINTEL 04mca58]$ sh checkfile.sh enter proper parameter