Unix Interview Questions - 1 | Snaprecruit.com
Unix Interview Questions - 1 | Snaprecruit.com
JOBSEEKERS
Login
Sign Up
Jobseeker
Employer
Staffing
Enterprises
Unix interview questions part 1
Unix interview questions part 1
Back
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?
A. password
B. pass
C. passwd
D. pwd
Show Correct Answer
Correct Answer is :
passwd
2. Which command will display a calendar?
A. cal
B. dis cal
C. view cal
D. calendar
Show Correct Answer
Correct Answer is :
cal
3. Which command can be used to display the contents of a file on the screen?
A. ls
B. grep
C. dog
D. cat
Show Correct Answer
Correct Answer is :
cat
4. Which command allows you to determine if a host is connected to the Internet?
A. ls-la
B. cmd
C. pwd
D. ping
Show Correct Answer
Correct Answer is :
ping
5. Which command would you use to create a sub-directory in your home directory?
A. mkdir
B. dir
C. cp
D. rm
Show Correct Answer
Correct Answer is :
mkdir
6. Pathname is a sequence of symbols and directories indicating the location of a file.
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
TRUE
7. What is a relative pathname?
A. pathname relative to parent directory
B. pathname relative to root (/)
C. pathname relative to parent and current directory
D. pathname relative to current directory
Show Correct Answer
Correct Answer is :
pathname relative to parent and current directory
8. Which of the following cryptic symbols are used in relative pathname?
A. ( . )
B. ( . . )
C. $
D. ( . ) and ( . . )
Show Correct Answer
Correct Answer is :
( . ) and ( . . )
9. $ cd . . is used to move ___ level up in the file hierarchy.
A. two
B. one
C. three
D. zero
Show Correct Answer
Correct Answer is :
one
10. $ cp file_01 . copies the file named file_01 in ____ directory
A. current
B. parent
C. root
D. user
Show Correct Answer
Correct Answer is :
current
11. cd /bin/user/directory/abc is an example of relative pathname.
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
FALSE
12. The output of $HOME is an example of absolute pathname.
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
TRUE
13. The output of the following command is __________ $ cp abd/ .user_06
A. copies .user_06 file in current directory
B. copies .user_06 file in parent directory of directory named abd
C. undefined behaviour
D. erroneous output
Show Correct Answer
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?
A. ?
B. $
C. *
D. /
Show Correct Answer
Correct Answer is :
/
15. Every file system has a directory structure headed by ____
A. parent
B. child
C. root
D. kernel
Show Correct Answer
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 _________
A. info table
B. file table
C. inode
D. ps table
Show Correct Answer
Correct Answer is :
inode
17. Which of the following is not a content of inode?
A. file type
B. file permission
C. file size and links
D. file name
Show Correct Answer
Correct Answer is :
file name
18. Which of the following is not stored in inode?
A. file name
B. inode number
C. file size
D. file name and inode number
Show Correct Answer
Correct Answer is :
file name and inode number
19. Which option is used with ls command for knowing the inode number of the file?
A. -l
B. -i
C. -a
D. -o
Show Correct Answer
Correct Answer is :
-i
20. Two files can have a same inode number in the same file system.
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
FALSE
Similar Interview Questions
Search for latest jobs
Find Jobs