In a shell script, which special variable refers to all the arguments passed to the script?
- $*
- $@
- $args
- $arguments
In a shell script, the special variable $@ refers to all the arguments passed to the script as separate items. Each argument is treated as a separate entity, which is particularly useful when dealing with spaces or special characters in argument values.
Loading...
Related Quiz
- To set up VPN connections in Linux, the ___________ software can be used to support multiple VPN protocols.
- Which command is primarily used to view the routing table in Linux?
- In the context of VPNs in Linux, the _________ protocol is known for its speed and efficiency but may not be as secure as other options.
- You're setting up a Linux server in an enterprise where user credentials are managed centrally. To ensure that Linux users can log in using their central credentials, which service or protocol should the Linux server support?
- Which file on an SSH client contains the public keys of remote hosts it has connected to?