3

Problem with Find command urgent help!!

view full story
linux-howto

http://www.unix.com – hi I used find command to find some file names as per input from user. I used it for current directory. It was working fine. Now I tried with giving some other directory path. Its giving issues. Here what I tried. Script will take input from user say 1_abc.txt, find the file and print list. if files are not there it will print No Files with this name message. Finding files in the current Directory. Code: echo View Log files;    echo Enter Log file name; read -r filename ; find  "$filename"_*.* -type f ! -name ".*" 2>errorlog if [ -s errorlog ] ; (HowTos)