Which option to the tee command will cause the output to be concatenated on the end of the output file instead of overwriting the existing file contents?
Show answerHide answer
Correct answer: A
–a
LPIC-1 Exam 101, Part 1 of 2, version 5.0
Free 101-500 questions on Topic 4, Devices, Linux Filesystems, Filesystem HierachyStandard, each with the answer and an explanation.
20 questions · 33 minutes · free, no sign-up
Which option to the tee command will cause the output to be concatenated on the end of the output file instead of overwriting the existing file contents?
Correct answer: A
–a
Which program updates the database that is used by the locate command?
Answer: updatedb
Which of the following commands creates an ext3 filesystem on /dev/sdb1? (Choose TWO correct answers.)
Correct answer: A, B
/sbin/mke2fs -j /dev/sdb1 /sbin/mkfs -t ext3 /dev/sdb1
Which of the following Linux filesystems preallocates a fixed number of inodes at the filesystem's make/creation time and does NOT generate them as needed? (Choose TWO correct answers.)
Correct answer: A, C
ext3 ext2
When planning a partition scheme, which of the following directories could be considered for separate partitions? (Choose three.)
Correct answer: B
/home
Which of the following commands updates the already installed RPM package rpmname?
Correct answer: B
rpm –U rpmname
Which of the following file permissions belong to a symbolic link?
Correct answer: C
lrwxrwxrwx
Which of the following commands will print important system information such as the kernel version and machine hardware architecture?
Correct answer: B
uname
Which of the following commands can be used to locate programs and their corresponding man pages and configuration files?
Correct answer: E
whereis
Which umask value will result in the default access permissions of 600 (rw----) for files
and 700 (rwx---) for directories? (Specify only the numerical umask value.)
Answer: 0077, 077
Full-length mocks with the same number of questions and the same time limit as the real 101-500 exam. Every attempt draws a new set of questions from the full bank, so you can keep going until you pass comfortably.
Get full 101-500 mock exam