1. Which of the following is performed by expr string handling’s function?
Correct Answer is : determine the length of string, extract and locate the position of the string
2. The string to be worked upon is placed on the left of the colon when using expr string handling function.
3. Which symbol is used for finding the length of the string?
4. Which of the following pattern is used for extracting a substring using expr?
Correct Answer is : \(. .\)
5. For locating the first position of a character in a string we can use expr command.
6. expr is a _____ command
Correct Answer is : external
7. A file is a container for storing information.
8. In how many broad categories, files are divided into UNIX?
9. In UNIX, the file name and file size are stored in the file itself.
Correct Answer is : FALSE
10. The most common file type is ___
Correct Answer is : ordinary file
11. What is a directory file?
Correct Answer is : a directory containing details of the files and subdirectories it contains
12. Each entry of directory file has component(s) namely _____
Correct Answer is : filename and inode number
13. Device files are used by the kernel for operating the device.
14. When we log in, the UNIX places us in a directory, called ______ directory
15. UNIX treats everything as a file.
16. The root directory is represented by ___
17. UNIX imposes no rule for framing filename extensions.
18. _____ and _____ cannot be used in a filename.
Correct Answer is : /, NULL
19. Filenames in UNIX are not case-sensitive.
Correct Answer is : FALSE
20. We should avoid filenames starting with a – (hyphen).