In a shell script, the _________ command is used to parse options and arguments.
- grep
- sed
- getopts
- awk
In a shell script, the getopts command is used to parse options and arguments. It's particularly useful for handling command-line options and arguments in a structured way.
Loading...
Related Quiz
- For an SSH server, the main configuration file is found at /etc/ssh/________.
- What is the primary difference between ext4 and ext3 file systems?
- Which symbol is used in Bash scripting to execute a command?
- In a shell script, if you want a loop to execute infinitely, which of the following would be the most appropriate construct?
- Which phase of the Linux boot process is responsible for hardware detection and initial setup?