⟩ Which command is used to debug a shell script program a) set b) set -x c) debug d) db
b) set -x
b) set -x
Which command is used to change permissions of files and directories? a) mv b) chgrp c) chmod d) set
If two files on same partition point to the same inode structure they are called a) Soft links b) Hard links c) Alias d) Special files
Deleting a soft-link a) Deletes the destination file b) Deletes both the softlink and the destination file c) Deletes just the softlink d) backup of the destination is automatically created
A user creates a link to a file file1 using the following command "ln file1 file2". Which of the following is not true? a) file1 and file2 have the same inode numbers b) The number of links for file1 is displayed as 1 c) The number of links for file1 is displayed as 2 d) The number of links for file2 is displayed as 2
How many links are created when we create a directory file? a) 1 b) 2 c) 3 d) 4
Which among the following allows fast file system recovery? a) Ext2 b) Journaling c) Caching d) Sysfs
There are two hard links to the "file1″ say hl and h2 and a softlink sl. What happens if we deleted the "file1″? a) We will still be able to access the file with hl and h2 but not with sl b) We will not be able to access the file with hl and h2 but with sl c) We will be able to access the file with any of hl, h2 and sl d) We will not be able to access the file with any of hl, h2 and sl
By default if any regular file is created, the number of link is displayed as 1? a) True b) False
Which command is used to check filesystem usage in a system? a) mount b) df c) du d) dd
Filesystem for CDROM is a) Ext2 b) Ext3 c) Isofs d) Procfs