Skip to content

Instantly share code, notes, and snippets.

@m3nd3s
Created April 28, 2012 00:17
Show Gist options
  • Save m3nd3s/2514494 to your computer and use it in GitHub Desktop.
Save m3nd3s/2514494 to your computer and use it in GitHub Desktop.
Exemplo Argumentos
#!/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