
Linux Operating System: A Complete Linux Guide for Beginners - Shell Scripting
Interactive Video
•
Information Technology (IT), Architecture
•
University
•
Practice Problem
•
Medium
Wayground Content
Used 1+ times
FREE Resource
Read more
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the primary purpose of shell scripting?
To create graphical user interfaces
To run commands sequentially
To compile code
To manage databases
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What file extension is typically used for shell scripts?
.txt
.exe
.sh
.bat
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the shebang (#!) in a shell script?
To comment out a line
To end the script
To specify the script interpreter
To declare a variable
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which symbol is used to add comments in a shell script?
--
/*
//
#
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What command is used to make a shell script executable?
chmod +x
compile
exec
run
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you run an executable shell script named 'test.sh'?
run test.sh
./test.sh
execute test.sh
start test.sh
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which command can be used to list files and directories in a shell script?
show
dir
list
ls
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?