Shortcuts To 101-400(61 to 70)
we provide Precise LPI 101-400 practice test which are the best for clearing 101-400 test, and to get certified by LPI LPI Level 1 Exam 101, Junior Level Linux Certification, Part 1 of 2. The 101-400 Questions & Answers covers all the knowledge points of the real 101-400 exam. Crack your LPI 101-400 Exam with latest dumps, guaranteed!
The article at Testaimer.com going over http://www.testaimer.com/101-400-test is very comprehensive.
Q61. - (Topic 3)
Which of the following signals is sent to a process when the key combination CTRL+C is pressed on the keyboard?
A. SIGTERM
B. SIGINT
C. SIGSTOP
D. SIGKILL
Answer: B
Q62. - (Topic 4)
Creating a hard link to an ordinary file returns an error. What could be the reason for this?
A. The source file is hidden.
B. The source file is read-only.
C. The source file is a shell script.
D. The source file is already a hard link.
E. The source and the target are on different filesystems.
Answer: E
Q63. - (Topic 4)
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.)
A. ext3
B. JFS
C. ext2
D. XFS
E. procfs
Answer: A,C
Q64. CORRECT TEXT - (Topic 2)
Which option to the yum command will update the entire system? (Specify ONLY the option name without any additional parameters.)
Answer: update, upgrade
Q65. - (Topic 4)
Which of the following settings for umask ensures that new files have the default permissions -rw-r----- ?
A. 0017
B. 0640
C. 0038
D. 0027
Answer: D
Q66. - (Topic 3)
Which of the following commands will send output from the program myapp to both standard output (stdout) and the file file1.log?
A. cat < myapp | cat > file1.log
B. myapp 0>&1 | cat > file1.log
C. myapp | cat > file1.log
D. myapp | tee file1.log
E. tee myapp file1.log
Answer: D
Q67. - (Topic 3)
Which of the following commands determines the type of a file by using a definition database file which contains information about all common file types?
A. magic
B. type
C. file
D. pmagic
E. hash
Answer: C
Q68. - (Topic 4)
Which of the following commands can be used to search for the executable file foo when it has been placed in a directory not included in $PATH?
A. apropos
B. which
C. find
D. query
E. whereis
Answer: C
Q69. - (Topic 3)
What is the effect of the egrep command when the -v option is used?
A. It enables color to highlight matching parts.
B. It only outputs non-matching lines.
C. It shows the command's version information.
D. It changes the output order showing the last matching line first.
Answer: B
Q70. - (Topic 3)
Which grep command will print only the lines that do not end with a / in the file foo?
A. grep '/$' foo
B. grep '/#' foo
C. grep -v '/$' foo
D. grep -v '/#' foo
Answer: C