220-1002 · Question #853
A technician is installing an application on a Linux system using the Bash shell console. Which of the following extensions should the technician select to install the application?
The correct answer is C. .sh. On Linux, shell scripts with a .sh extension are the standard way to execute installation procedures through the Bash shell console.
Question
A technician is installing an application on a Linux system using the Bash shell console. Which of the following extensions should the technician select to install the application?
Options
- A.exe
- B.apk
- C.sh
- D.app
How the community answered
(54 responses)- A2% (1)
- B4% (2)
- C93% (50)
- D2% (1)
Why each option
On Linux, shell scripts with a .sh extension are the standard way to execute installation procedures through the Bash shell console.
.exe is a Windows Portable Executable format that is not natively executable on Linux without a compatibility layer such as Wine.
.apk is the Android Package Kit format designed for the Android operating system, not desktop Linux.
A .sh file is a Bash shell script that contains commands to compile, configure, and install software on a Linux system. Technicians run these scripts in the terminal using 'bash script.sh' or by making them executable with chmod. This is a native Linux installation method supported across all major distributions.
.app is the macOS application bundle format and is not used for Linux software installation.
Concept tested: Linux application installation using shell scripts
Source: https://www.gnu.org/software/bash/manual/bash.html
Topics
Community Discussion
No community discussion yet for this question.