# #Write a script to find the global complete path for any file. # echo -n "Enter the filename to search in current directory: \c" read filename current=$(pwd) files=`find $current -name $filename` count=0 for i in $files do if [ -f "$i" ] then echo $i count=$(echo $count + 1 | bc -l) fi done if [ $count -eq 0 ] then echo "File does not exist" fi