Tuesday, 27 October 2015

How will you pass and access arguments to a script in Linux?

Arguments can be passed as:
scriptName “Arg1” “Arg2”….”Argn” and can be accessed inside the script as $1 , $2 .. $n

No comments:

Post a Comment