Created
April 28, 2012 00:17
-
-
Save m3nd3s/2514494 to your computer and use it in GitHub Desktop.
Exemplo Argumentos
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# Script that demos, command line args | |
# | |
echo "Total number of command line argument are $#" | |
echo "$0 is script name" | |
echo "$1 is first argument" | |
echo "$2 is second argument" | |
echo "All of them are :- $* or $@" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment