Trần Khánh Ly
New member
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.
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.