Write a shell script to find the mode of a file in a directory.

echo “Enter Filename to check its permission” 
read i 
ls -l $i