Unix Administration interview questions part 2

Unix Administration interview questions part 2

Take as many assements as you can to improve your validate your skill rating

Total Questions: 20

1. The SUID for any file can be set by the administrator using ____

Correct Answer is : chmod u+s filename

2. The superuser can set the sticky bit.

Correct Answer is : TRUE

3. Which of the following commands are used for the maintenance of user accounts?

Correct Answer is : useradd, usermod, userdel

4. _____ command is used for creating a new group.

Correct Answer is : groupadd

5. For adding a new user to the system, we have to use ____ command.

Correct Answer is : useradd

6. All the user information is stored in _____

Correct Answer is : etc/passwd

7. Which of the following is not a field stored in /etc/passwd?

Correct Answer is : encrypted password

8. Which command is used by the administrator to modify some parameters of existing users?

Correct Answer is : usermod

9. userdel is used for removing users from the system.

Correct Answer is : TRUE

10. shutdown command is used by the administrator for shutting down the system.

Correct Answer is : TRUE

11. Which option is used with shutdown command to override the default waiting time?

Correct Answer is : -g

12. Which one of the following command will shutdown and reboot the system?

Correct Answer is : shutdown -y -g0 -i6

13. Which command is used for reporting free space on the disk?

Correct Answer is : df

14. ___ option is used with df command for displaying the total amount of disk space in the file system.

Correct Answer is : -t

15. ___ option is used with df command for displaying the total amount of disk space in the file system in terms of Kilobytes.

Correct Answer is : -k

16. Which command is used to find out the consumption of a specific directory?

Correct Answer is : du

17. Which option is used with du command for finding only the summary of disk usage by a specific directory?

Correct Answer is : -s

18. du command can also be used for reporting the disk space consumed by each user.

Correct Answer is : TRUE

19. A device file contains no data.

Correct Answer is : TRUE

20. All the device files are stored in _____

Correct Answer is : /dev

Similar Interview Questions

    Search for latest jobs

    Icon
    Icon