What is Echo $1?

What is Echo $1?
Answer
$1 is
the argument passed for shell script. Suppose, you run ./myscript.sh hello 123. then. $1 will be hello. $2 will be 123.
 

Tìm kiếm

Back
Top