Dictionary.net

Definitions of $1

  1. The first positional parameter in shellprogramming and related languages. Occurrences of $ 1 arereplaced by the first actual argument provided by the userwhen the shell script is run. $ 2 is replaced by the secondargument, and so on up to $ 9.You may have arrived at this entry by following a URL like"http:// foldoc.org?$ 1", which is actually a template used togenerate pointers to FOLDOC definitions by replacing "$ 1" withthe term to be defined, e.g. in a wiki interwiki map.
X