Advertisement
Xioth

Bash - TD1 - nbArgs.sh

Jan 18th, 2016
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.09 KB | None | 0 0
  1. #!/bin/sh
  2.  
  3. if [ $# -gt 0 ]
  4. then
  5.     echo "Il y a $# arguments"
  6. else
  7.     echo "Erreur"
  8. fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement