Question 1
Which of the following user types in Linux has full system control and can modify system-level settings, install software, and delete files?
Regular User
Root (Superuser)
Guest User
System/Service Account
Question 2
What does the usermod -aG
command do in Linux?
Adds a new user
Changes the user’s login name
Adds the user to an additional group
Deletes a user from the system
Question 3
What command would you use to view all users listed in the /etc/passwd file?
ls -l /etc/passwd
cat /etc/passwd
awk -F ':' '{ print $1 }' /etc/passwd
groups
Question 4
In Linux, which command is used to change a user’s home directory?
usermod -d
userdel -r
chown
passwd
Question 7
What does the command ps -ef
do in Linux?
Displays the list of all the running processes
Kills a process
Lists all system files
Shows system resource usage
Question 8
How can you run a process in the background without it being impacted by the terminal's closure?
bg
fg
nohup
exit
Question 9
Which of the following commands is used to change the user’s login name in Linux?
usermod -l
usermod -d
useradd
passwd
Question 10
Which process state is described as a "Zombie" process in Linux?
A process that is paused
A process running in the background
A process that is waiting for input
A process that has finished execution but still occupies space in the process table
There are 10 questions to complete.