RCS 031 - Linux - Jan - April - 2024
RCS 031 - Linux - Jan - April - 2024
GENERAL INSTRUCTIONS:
Students are NOT permitted to write on the examination paper during reading time.
This is a closed book examination. Text book/Reference books/notes are not permitted.
SPECIAL INSTRUCTIONS:
1 of 4
SECTION A (COMPULSORY).
d) State and briefly describe FIVE types of Kernels used in operating systems. (5 Marks)
e) Considering the Linux Commands, explain what will be achieved by running the
following commands on the Linux CLI. (5 Marks)
i. $cd
ii. $cp
iii. $rm
iv. $pwd
v. $mkdir
f) Explain SEVEN features that makes Linux a desirable operating system in many facets
of computing. (7 Marks)
2 of 4
SECTION B (Answer Any Two Questions).
c) Explain the purposes of the following System Calls Process Management in Linux
operating systems. (5 Marks)
i. fork() :
ii. exec() :
iii. wait() :
iv. exit() :
v. getpid() :
d) Outline differences between the Linux Bash and Window’s D.O.S. (3 Marks)
d) State and briefly describe FIVE variations of shells, which are used in Linux OS.
(10 Marks)
b) Explain what fragmentation means in both Memory and storage devices. (4 Marks)
d) Describe the [ssh-protocol] and state how is it used to secure remote access in Linux?
(4 Marks)
3 of 4
Question (5) - (15 Marks)
a) Considering the diagram below of a Linux environment, describe the purposes of the
various major components of operating systems. (3 Marks)
b) State the Linux commands, you would use in a command line interface to achieve the
following tasks? (7 Marks)
i. Change or modify files ownership for users / user groups.
ii. Print the user’s name of the user logged into the system.
iii. Display network information of a host/system.
iv. Remove directories/folders/file in a system.
v. Help or display details about a command.
vi. Change or modify files permissions.
vii. Log into a remote host/system.
c) Discus the various states processes go through during the Linux’s process life cycle.
(5 Marks)
END
4 of 4