Unix interview questions part 1

Unix interview questions part 1

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

Total Questions: 20

1. Which command is used to change your password?

Correct Answer is : passwd

2. Which command will display a calendar?

Correct Answer is : cal

3. Which command can be used to display the contents of a file on the screen?

Correct Answer is : cat

4. Which command allows you to determine if a host is connected to the Internet?

Correct Answer is : ping

5. Which command would you use to create a sub-directory in your home directory?

Correct Answer is : mkdir

6. Pathname is a sequence of symbols and directories indicating the location of a file.

Correct Answer is : TRUE

7. What is a relative pathname?

Correct Answer is : pathname relative to parent and current directory

8. Which of the following cryptic symbols are used in relative pathname?

Correct Answer is : ( . ) and ( . . )

9. $ cd . . is used to move ___ level up in the file hierarchy.

Correct Answer is : one

10. $ cp file_01 . copies the file named file_01 in ____ directory

Correct Answer is : current

11. cd /bin/user/directory/abc is an example of relative pathname.

Correct Answer is : FALSE

12. The output of $HOME is an example of absolute pathname.

Correct Answer is : TRUE

13. The output of the following command is __________ $ cp abd/ .user_06

Correct Answer is : copies .user_06 file in current directory

14. For moving two level up in the file hierarchy system using cd command once, we separates ( . . ) by which symbol?

Correct Answer is : /

15. Every file system has a directory structure headed by ____

Correct Answer is : root

16. Every file is associated with a table which contains all possible information about a file, that table is called as _________

Correct Answer is : inode

17. Which of the following is not a content of inode?

Correct Answer is : file name

18. Which of the following is not stored in inode?

Correct Answer is : file name and inode number

19. Which option is used with ls command for knowing the inode number of the file?

Correct Answer is : -i

20. Two files can have a same inode number in the same file system.

Correct Answer is : FALSE

Similar Interview Questions

    Search for latest jobs

    Icon
    Icon