Hi All,
Could any one of you give me a hand to convert the following line of codes from .sh to .csh please ?
proc_id=`fuser /tmp/test`
if [ ! -n "$proc_id" ]
then
echo "File is not being used by any thing"
fi
if [ $proc_id -ne "21" ]
then
echo "File is being used... please wait"
sleep 1
fi
Regards.
---------- Post updated at 11:42 AM ---------- Previous update was at 11:33 AM ----------
please see this