In linux, in bash scripting if you have script that you run as: ./test.sh one two three
And the above test script has line: echo $@
What is the output?
Answer
one two three
Question
In linux, in bash scripting if you have script that you run as: ./test.sh one two three
And the above test script has line: echo $@
What is the output?
Answer
?
Question
In linux, in bash scripting if you have script that you run as: ./test.sh one two three
And the above test script has line: echo $@
What is the output?
Answer
one two three
If you want to change selection, open document below and click on "Move attachment"
7. Shell Scripting rsion 0.0.3" exit 0 ;; -*) echo "Error: no such option $1" usage exit 1 ;; esac shift done myprog.sh can now run with multiple arguments on the command-line. 7.9 More on Command-Line Arguments: <span>$@ and $0 Whereas $1 , $2 , $3 , etc. expand to the individual arguments passed to the program, $@ expands to all arguments. This behavior is useful for passing all remaining arguments onto a sec
Summary
status
not learned
measured difficulty
37% [default]
last interval [days]
repetition number in this series
0
memorised on
scheduled repetition
scheduled repetition interval
last repetition or drill
Details
No repetitions
Discussion
Do you want to join discussion? Click here to log in or create user.