Which of the following parameters contains the name of the script being executed?
查看答案
Which of the following supplies the correct syntax to declare the function named showpath?
A. showpath [echo $PATH]
B. showpath {echo $PATH}
C. showpath () {echo $PATH}
D. showpath (echo PATH)
If you want to substitute the result of an expression (say echo /tmp) to be the argument for cd, how will you represent them? Select all answers that apply.
A. cd `echo /tmp`
B. cd (echo /tmp)
C. cd echo /tmp
D. cd $(echo /tmp)
What are the different types of commands that can be used in a bash shell script?
A. Compiled applications
Built-in bash commands
C. Other scripts
D. All of the above
Which character is used to represent the continuation of a command over several lines?
A. /
B. |
C. \
D. -