When debugging, which shell built-in command can be used to read and execute commands from a file?
- source
- execute
- run
- debug
When debugging in shell scripting, the source command (or . for short) is used to read and execute commands from a file. This is often used to include external script files or configuration files into the current script, allowing you to reuse code or set environment variables.
Loading...
Related Quiz
- Which file defines the rules for the sudo command in Linux?
- What command is used to display the contents of a file in Linux?
- What command can be used to view the partition table of a disk in Linux?
- In Bash scripting, the ________ command is used to loop over a range of values.
- For a package manager, what is the significance of the "dependency resolution" process?