A system administrator is creating a native shell script to automate routine backup tasks on a Linux server. Which file extension should the administrator assign to this script?
- .shAnswer
- B.bat
- C.ps1
- D.vbs
Answer
The administrator should assign the .sh file extension to the Linux shell script.
The .sh file extension designates a shell script executable within Linux and Unix command shells such as Bash.
Step-by-Step Solution
Key Concept
Basic scripting language file extensions and execution environments