Unix interview questions part 21

Unix interview questions part 21

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

Total Questions: 20

1. POSIX is a set of standards specified for establishing compatibility between operating systems.

Correct Answer is : TRUE

2. Shell is a command interpreter used for interacting with a UNIX system.

Correct Answer is : TRUE

3. Which part of the UNIX operating system interacts with the hardware?

Correct Answer is : Kernel

4. Two UNIX systems may or may not use the same set of system calls.

Correct Answer is : FALSE

5. What is a superuser?

Correct Answer is : system manager

6. What is the windowing system of UNIX known as?

Correct Answer is : X Window system

7. Which command is used for listing files in a directory?

Correct Answer is : ls

8. Which option is used with ls command for long listing of files with seven attributes?

Correct Answer is : -l

9. Which option is used with ls to display attributes of the directory ?

Correct Answer is : -d

10. -a option is used with ls command for what purpose?

Correct Answer is : for showing hidden files

11. Which option is used with ls command to produce multi columnar output?

Correct Answer is : -x

12. What is the collating sequence of ls command for listing files?

Correct Answer is : Numerals > Uppercase > Lowercase

13. How can we identify executables and directories from the output of ls command?

Correct Answer is : using -F option

14. $ ls -R outputs all files and subdirectories in a recursive manner.

Correct Answer is : TRUE

15. -r option is same as -R option in ls command.

Correct Answer is : FALSE

16. What does the -S option do in ls command?

Correct Answer is : sorts according to file size

17. ls -s prints the allocated file size in blocks.

Correct Answer is : TRUE

18. -u option sorts the files according to ____

Correct Answer is : last access time

19. -t option sorts the files according to ____

Correct Answer is : last modification time

20. The output of ls dir* is ___

Correct Answer is : all files in the directory having a filename starting with dir

Similar Interview Questions

    Search for latest jobs

    Icon
    Icon