JOBSEEKERS
Login
Sign Up
Jobseeker
Employer
Staffing Firm
Direct Client
Unix interview questions part 22
Unix interview questions part 22
Back
Take as many assements as you can to improve your validate your skill rating
Total Questions: 20
1. An attribute is a specification of an object that defines its property.
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
TRUE
2. Which command is used to list the attributes of a file?
A. cp
B. list
C. ls
D. attr
Show Correct Answer
Correct Answer is :
ls
3. Which one of the following is not an attribute displayed by ls command?
A. file permissions
B. file ownership
C. links
D. word count of file
Show Correct Answer
Correct Answer is :
word count of file
4. What are links referred to as in file attributes?
A. number of filenames of a single file that are maintained by the system
B. number of duplicates of a single file
C. number of copies of a single file
D. number of files present in a directory
Show Correct Answer
Correct Answer is :
number of filenames of a single file that are maintained by the system
5. In how many categories are links divided?
A. 1
B. 2
C. 4
D. 0
Show Correct Answer
Correct Answer is :
2
6. Hard linked files are provided with the same inode number as the original one.
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
TRUE
7. Soft linked files are provided with different inode number as the original one.
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
TRUE
8. Which option is used with ls command to list the directory attributes rather than its contents?
A. -b
B. -a
C. -l
D. -d
Show Correct Answer
Correct Answer is :
-d
9. File attributes are of major concern as compared to directory attributes while performing operations on file system.
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
FALSE
10. A file contains 1026 bytes. How many bytes of disk space will it consume if size of a disk block is 1024 bytes?
A. 1026
B. 1024
C. 2048
D. 4096
Show Correct Answer
Correct Answer is :
2048
11. Which command is used for locating files?
A. search
B. find
C. loc
D. type
Show Correct Answer
Correct Answer is :
find
12. The syntax of the find command is ____________
A. find path_list selection_criteria action
B. find action path_list selection_criteria
C. find selection_criteria action path
D. find path action
Show Correct Answer
Correct Answer is :
find path_list selection_criteria action
13. Which symbol is used with find command for specifying arguments?
A. #ERROR!
B. –
C. #NAME?
D. |
Show Correct Answer
Correct Answer is :
#NAME?
14. What will be the output of the following command? $ find / -name a.out -print
A. all files having filename as a.out
B. all files in the root directory
C. undefined output
D. erroneous
Show Correct Answer
Correct Answer is :
all files having filename as a.out
15. We can use relative pathname in the path list while using find command.
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
TRUE
16. Which one of the following option is used for locating the files by inode number?
A. -name
B. -inum
C. -inode
D. -ind
Show Correct Answer
Correct Answer is :
-inum
17. Which option is used with find command for specifying the file type?
A. -perm
B. -inum
C. -name
D. -type
Show Correct Answer
Correct Answer is :
-type
18. To specify permissions while using find command we have to use _____ option.
A. -perm
B. -inum
C. -name
D. -type
Show Correct Answer
Correct Answer is :
-perm
19. Which option is used to find command to search for files based on access time?
A. -atime
B. -mtime
C. -time
D. -type
Show Correct Answer
Correct Answer is :
-atime
20. Which of the following command will be used to locate those files that have not been modified for more than a year?
A. find . -mtime 1
B. find . -mtime 1 year -print
C. find . -mtime +365 -print
D. find . -mtime -365 -print
Show Correct Answer
Correct Answer is :
find . -mtime +365 -print
Similar Interview Questions
Search for latest jobs
Find Jobs