JOBSEEKERS
Login
Sign Up
Jobseeker
Employer
Staffing Firm
Direct Client
Unix interview questions part 21
Unix interview questions part 21
Back
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.
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
TRUE
2. Shell is a command interpreter used for interacting with a UNIX system.
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
TRUE
3. Which part of the UNIX operating system interacts with the hardware?
A. Kernel
B. Shell
C. vi editor
D. application program
Show Correct Answer
Correct Answer is :
Kernel
4. Two UNIX systems may or may not use the same set of system calls.
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
FALSE
5. What is a superuser?
A. system manager
B. normal user
C. administrator
D. a user with special rights
Show Correct Answer
Correct Answer is :
system manager
6. What is the windowing system of UNIX known as?
A. X Window system
B. LINUX
C. Red Hat
D. DOS
Show Correct Answer
Correct Answer is :
X Window system
7. Which command is used for listing files in a directory?
A. ps
B. list
C. ls
D. wc
Show Correct Answer
Correct Answer is :
ls
8. Which option is used with ls command for long listing of files with seven attributes?
A. -a
B. -l
C. -x
D. -i
Show Correct Answer
Correct Answer is :
-l
9. Which option is used with ls to display attributes of the directory ?
A. -a
B. -ld
C. -d
D. -o
Show Correct Answer
Correct Answer is :
-d
10. -a option is used with ls command for what purpose?
A. for showing hidden files
B. for showing executables
C. for showing directories
D. for multi columnar output
Show Correct Answer
Correct Answer is :
for showing hidden files
11. Which option is used with ls command to produce multi columnar output?
A. -x
B. -F
C. -a
D. -v
Show Correct Answer
Correct Answer is :
-x
12. What is the collating sequence of ls command for listing files?
A. Numerals > Uppercase > Lowercase
B. Numerals > Lowercase > Uppercase
C. Lowercase > Uppercase > Numerals
D. Uppercase > Numerals > Lowercase
Show Correct Answer
Correct Answer is :
Numerals > Uppercase > Lowercase
13. How can we identify executables and directories from the output of ls command?
A. using -F option
B. using -x option
C. using -a option
D. using -i option
Show Correct Answer
Correct Answer is :
using -F option
14. $ ls -R outputs all files and subdirectories in a recursive manner.
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
TRUE
15. -r option is same as -R option in ls command.
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
FALSE
16. What does the -S option do in ls command?
A. sorts according to modification time
B. sorts according to last access time
C. sorts according to file size
D. sorts according to inode number
Show Correct Answer
Correct Answer is :
sorts according to file size
17. ls -s prints the allocated file size in blocks.
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
TRUE
18. -u option sorts the files according to ____
A. last modification time
B. last access time
C. ASCII collating sequence
D. file size
Show Correct Answer
Correct Answer is :
last access time
19. -t option sorts the files according to ____
A. last modification time
B. last access time
C. ASCII collating sequence
D. file size
Show Correct Answer
Correct Answer is :
last modification time
20. The output of ls dir* is ___
A. all files in the current directory
B. all files in the directory having a filename starting with dir
C. no filename is displayed
D. erroneous
Show Correct Answer
Correct Answer is :
all files in the directory having a filename starting with dir
Similar Interview Questions
Search for latest jobs
Find Jobs