hmm, try your luck with...
find directory -iname "file-name" -print
find /etc -iname "smb.conf" -print
i have long not do scripting (since college) but i think u can pass in the arguments something to do with $1 $2
myfindscript file-name directory-name
$1 is for file-name
$2 is for directory-name
<content of myfindscript>
find $2 -iname $1 -print
#if it doesn't work try
#find $2 -iname "$1" -print
#myfindscript /etc smb.conf
i haven tested it though... correct me if i'm wrong
Last edited by linuxzouk; 05-20-2004 at 04:34 AM.