T4Tutorials .PK

SYSTEM ADMINISTRATION MCQs – CHAPTER 7 DAE

1. . Which command is used to create a new user account in a Unix/Linux system?

(A) adduser


(B) createuser


(C) useradd


(D) newuser




2. . Which command is used to change the ownership of a file or directory in Unix/Linux?

(A) chown


(B) chmod


(C) chgrp


(D) own




3. . Which command is used to display the current system date and time in Unix/Linux?

(A) Datetime


(B) Time


(C) date


(D) Now




4. . Which command is used to list the currently running processes in Unix/Linux?

(A) ls


(B) process


(C) top


(D) ps




5. . Which command is used to shut down a Unix/Linux system?

(A) shutdown


(B) poweroff


(C) halt


(D) all of the above




6. . Which file contains the system-wide environmental variables in Unix/Linux?

(A) /etc/environment


(B) /etc/hosts


(C) /etc/profile


(D) /etc/variables




7. . Which file contains the list of valid usernames on a Unix/Linux system?

(A) /etc/passwd


(B) /etc/users


(C) /etc/groups


(D) /etc/shadow




8. . Which command is used to display the current logged-in users in Unix/Linux?

(A) users


(B) listusers


(C) who


(D) loggedin




9. . Which command is used to format a disk in Unix/Linux?

(A) mkfs


(B) format


(C) diskformat


(D) mkfs




10. . Which command is used to display the disk space usage of a directory in Unix/Linux?

(A) du


(B) ls


(C) df


(D) diskusage




Exit mobile version