Write a script to find the global complete path for any file.

ls

echo -e “Enter the file name you want to search path::\c”

read a1

 

if [ -f $a1 ]

then

temp=pwd“/”find $a1

echo “File is exit at the location::$temp”

else

echo “Not”

fi

 

Share

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.