Posted By

moonbather on 11/02/08


Tagged

Bash


Versions (?)

bash check command args exist


 / Published in: Bash
 

URL: http://ubuntuforums.org/archive/index.php/t-546495.html

  1. if [ $# != 1 ]; then
  2. # show script 'usage'
  3. exit
  4. fi

Report this snippet  

You need to login to post a comment.