The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #10 (permalink)  
Old 02-06-2008
risshanth risshanth is offline
Registered User
 

Join Date: Oct 2007
Posts: 59
Unhappy Hi..

My script is as follows:

SRC=$INPUT_FILE
SIZE=$(cksum $SRC | awk '{print $2}')
if [[ $SIZE < 1 ]] ; then
ls /nosuchdir
fi


The $INPUT_FILE is received as an argument to this script. This was developed by somebody else. So I am trying to understand the code. I got confused when i saw "ls /nosuchdir" . There will never be a directory under name "nosuchdir" in the whole file system. So what does this mean ??

I heard that people will use like this, and there is some concept behind this. Even I too don't know about hat and much confused...

So, please friends help me out...
Reply With Quote