SEC335 Week 1 Quiz
What is the absolute pathname to the file that the mount command updates when it runs? REMEMBER: An absolute pathname begins with a forward slash
/etc/mtab
An physcial disk using MBR partitioning can have up to 8 partitions. True or False?
False
Linux only supports one filesystem type. True or False?
False
On Linux, use the 'format' command to format a partition. True or False?
False
RAID1 uses striping. True or False?
False
A file or directory is a set of inodes and data blocks. True or False?
True
A relative pathname ALWAYS begins with a forward slash. True or False?
True
A symbolic link is a valid Linux filetype. True or False?
True
File and directory names are case-sensitive. True or False?
True
Names can be 129 characters long. True or False?
True
The vgremove command removes a Volume Group. True or False?
True
When FS is corrupt, a chain of inode pointers is broken somewhere. True or False?
True
The default device for STDIN is the _____. a. keyboard b. console c. mouse d. monitor
a. keyboard
Which is NOT a valid directory name? a. dir1 dir2 b. dir1/dir2 c. dir1##dir2 d. dir1?dir2
b. dir1/dir2
Which 'ls' command option shows hidden files? a. -d b. -h c. -a d. -r
c. -a
Which of the following commands overwrites the contents of file1? a. cat file1 >> file2 b. cat file1 > file2 c. cat file2 > file1 d. cat file2 >> file1
c. cat file2 > file1
The symbol for the pipe operation is the _____. a. : <colon> b. . <period> c. | <vertical bar> d. None of the above
c. | <vertical bar>
Which are filesystem types that Linux can access? a. reiserfs b. fat32 c. ext3 d. All of the above
d. All of the above
Which is NOT a valid filesystem type that Linux can access? a. ext4 b. ntfs c. reiserfs d. None of the above.
d. None of the above.
Which of the following commands appends to the contents of file1? a. cat file1 >> file2 b. cat file1 > file2 c. cat file2 > file1 d. cat file2 >> file1
d. cat file2 >> file1
Which 'find' command searches for files that are larger than 1mb in size? a. find -size 1024k b. find -greater 1024k c. find-larger 1mb d. find -size +1024k
d. find -size +1024k
On Linux, a directory maps a file name to its inode number using a ______.
dentry
Which command is used to find a physical disk? Include the command and any needed command options
fdisk -l
The command to display the current directory is _____.
pwd