Home / Study library / System Commands / End Term · May 2026 System Commands · End Term · May 2026 · AN
System Commands · End Term · May 2026 AN
← Course papers · Start practice / exam
Questions and published explanations below are available without starting a test. Some questions may not have a published solution yet.
0 / 23 published solutions
Q2 Q3 Q4 Q5 Q6 Q7 Q8 Q9 Q10 Q11 Q12 Q13 Q14 Q15 Q16 Q17 Q18 Q19 Q20 Q21 Q22 Q23 Q24
Question 2 MCQ · 4.0 marks Which of the following **octal permission values** grants the specified permissions?
• **User:** Read and Write
• **Group:** Read and Execute
• **Others:** Read-only
A. B. C. D. A published solution is not available for this question yet.
Report a correction for Q2
Question 3 MCQ · 4.0 marks A system administrator creates a file named "report.txt" and then creates another file named
"backup.txt" using the following command:
Later, "report.txt" is deleted using
.
Which statement is correct?
A. "backup.txt" is also deleted.
B. "backup.txt" still contains the original data.
C. "backup.txt" becomes a broken link.
D. Both files become inaccessible.
A published solution is not available for this question yet.
Report a correction for Q3
Question 4 MCQ · 4.0 marks Given:
What does this command produce?
A. B. C. D. A published solution is not available for this question yet.
Report a correction for Q4
Question 5 MCQ · 4.0 marks For which of the following commands will the output have the **1st and 2nd columns inverted**?
In the input, the **1st and 2nd columns are separated by a comma**, and in the output also, the
columns should be **separated by a comma**.
A. B. C. D. A published solution is not available for this question yet.
Report a correction for Q5
Question 6 MCQ · 4.0 marks Match the AWK built-in variables with their purposes.
A. 1-C, 2-D, 3-A, 4-B, 5-E
B. 1-B, 2-A, 3-E, 4-D, 5-C
C. 1-A, 2-B, 3-C, 4-E, 5-D
D. 1-D, 2-E, 3-B, 4-C, 5-A
E. 1-E, 2-C, 3-D, 4-A, 5-B
A published solution is not available for this question yet.
Report a correction for Q6
Question 7 MCQ · 4.0 marks Suppose you have modified
file. You want to commit only this file. Which sequence is
correct?
A. B. C. D. A published solution is not available for this question yet.
Report a correction for Q7
Question 8 MCQ · 4.0 marks Match the following commands with their corresponding purposes.
Which of the following is the correct matching?
A. 1-C, 2-A, 3-B, 4-D, 5-E
B. 1-A, 2-C, 3-D, 4-B, 5-E
C. 1-C, 2-D, 3-B, 4-A, 5-E
D. 1-B, 2-A, 3-C, 4-D, 5-E
A published solution is not available for this question yet.
Report a correction for Q8
Question 9 MCQ · 4.0 marks Match the following Bash prompt variables with the situations in which they are used.
A published solution is not available for this question yet.
Report a correction for Q9
Question 10 MCQ · 3.0 marks A user wants the alias:
to be available every time they open a new
interactive shell. In which file should it be added?
A. B. C. D. A published solution is not available for this question yet.
Report a correction for Q10
Question 11 MCQ · 3.0 marks The primary purpose of disk mirroring is to?
A. Increase storage capacity
B. Improve data availability
A published solution is not available for this question yet.
Report a correction for Q11
Question 12 MCQ · 5.0 marks Consider:
You want to count dates whose month is **January**, **February**, or **March**.
Which command is correct?
A. B. C. D. A published solution is not available for this question yet.
Report a correction for Q12
Question 13 MCQ · 5.0 marks Which statement correctly describes what the following regular expression checks when used with
?
A. It matches only valid IPv4 addresses.
B. It checks the four-part dotted structure but does not ensure each octet is
0–255.
C. It matches only private IPv4 addresses.
D. It matches only addresses beginning with 192.
A published solution is not available for this question yet.
Report a correction for Q13
Question 14 MCQ · 5.0 marks Consider the following directory structure:
How many files will be matched by the following command?
A published solution is not available for this question yet.
Report a correction for Q14
Question 15 MCQ · 5.0 marks Assume you have executed more than 1000 commands in the last 1 hour. What does the following
command do?
A. Displays the last 10 commands executed.
B. Displays commands executed in the last hour.
C. Displays the 10 longest commands.
D. Displays the most frequently used top 10 commands.
A published solution is not available for this question yet.
Report a correction for Q15
Question 16 MCQ · 5.0 marks Consider the following Bash script:
What is the **purpose** of this script?
A. Counts the number of arguments that are greater than the first argument.
B. Counts how many times an argument is greater than the argument
immediately before it.
C. Counts the number of arguments in decreasing order.
D. Finds the largest argument and prints its position.
A published solution is not available for this question yet.
Report a correction for Q16
Question 17 MCQ · 5.0 marks Consider a file
with the following contents:
Given below are four
commands and their possible outputs. **Match each command with its**
**corresponding output.**
**Commands**
1.
2.
3.
4.
**Outputs**
**Output A**
**Output B**
**Output C**
**Output D**
Which of the following correctly matches the commands with their outputs?
A published solution is not available for this question yet.
Report a correction for Q17
Question 18 MCQ · 5.0 marks What will be the output of the following
command when executed on the file
?
The file
contains:
A. B. C. D. A published solution is not available for this question yet.
Report a correction for Q18
Question 19 MSQ · 4.0 marks Select all the correct statements about the "PATH" variable?
A. It determines where the shell searches for executable commands.
B. Directory entries are typically separated by a colon " : ".
C. Setting PATH="" prevents the shell from executing built-in commands.
D. An executable can still be run using its absolute path even if PATH="".
A published solution is not available for this question yet.
Report a correction for Q19
Question 20 MSQ · 4.0 marks Which statements about exported variables are correct?
A. Child shells inherit exported variables
B. Non-exported variables are inherited automatically
C. Child shell modifications affect parent shell variables
D. Exporting makes variables available to subprocesses
A published solution is not available for this question yet.
Report a correction for Q20
Question 21 MSQ · 5.0 marks Consider the following directory structure:
Which of the following Bash commands will create **exactly this directory structure**?
A. B. C. D. A published solution is not available for this question yet.
Report a correction for Q21
Question 22 MSQ · 5.0 marks Which of the following commands will print **all lines in**
**except the first line (header**
**line)**?
A. B. C. D. A published solution is not available for this question yet.
Report a correction for Q22
Question 23 NAT · 5.0 marks Consider the following Bash script:
The script is executed as:
What numerical value is printed?
A published solution is not available for this question yet.
Report a correction for Q23
Question 24 NAT · 4.0 marks What does the expression below mean?
How many times will /report.sh run in a 24-hour day?
A published solution is not available for this question yet.
Report a correction for Q24