In a shell script, if you want to refer to the last argument passed, you would use the _________ special variable.
- $!
- $@
- $?
- $_
In a shell script, you would use the $_ special variable to refer to the last argument passed. This variable holds the last argument to the last command that was executed.
Loading...
Related Quiz
- When you want to continue to the next iteration of a loop without executing the subsequent commands in the current iteration, you use the __________ command.
- In the context of networking, what does the acronym "NAT" stand for?
- protocol is considered to be highly secure and is commonly used in Linux?
- A system administrator wants to dynamically alter the kernel's behavior without rebooting. What feature of the Linux kernel allows for this?
- To ensure a consistent policy across machines, SELinux policies can be stored in _________ format.