SHARE
TWEET

Untitled

a guest Mar 13th, 2019 101 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #3.8
  2.  
  3. if [ $# -gt 1 ]
  4. then
  5.         echo Too many args
  6.  
  7. else
  8.  
  9.         if [ -e $1 ]
  10.  
  11.         then
  12.                 echo `ls $1`
  13.  
  14.         else
  15.                 echo ERROR THE DIRECTORY DOES NOT EXIST
  16.  
  17.         fi
  18.  
  19. fi
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top