Skip to content

Instantly share code, notes, and snippets.

@lukaszkorecki
Last active August 29, 2015 14:01
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lukaszkorecki/9ff47851d102b0dcdaa0 to your computer and use it in GitHub Desktop.
Save lukaszkorecki/9ff47851d102b0dcdaa0 to your computer and use it in GitHub Desktop.

$* - all params, starting from one, expanded to "$1$2"

$@ - all params, starting from, expanded to "$1" "$2"

$# - number of arguments

$$ - PID of shell

$0 - name of the shell or script

$_ - last argument of previous command

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment