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.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *