Download of 101-400 actual test materials and questions pool for LPI certification for consumer, Real Success Guaranteed with Updated 101-400 pdf dumps vce Materials. 100% PASS LPI Level 1 Exam 101, Junior Level Linux Certification, Part 1 of 2 exam Today!
♥♥ 2021 NEW RECOMMEND ♥♥
Free VCE & PDF File for LPI 101-400 Real Exam (Full Version!)
★ Pass on Your First TRY ★ 100% Money Back Guarantee ★ Realistic Practice Exam Questions
Q21. - (Topic 3)
When running the command
sed -e "s/a/b/" /tmp/file >/tmp/file
While /tmp/file contains data, why is /tmp/file empty afterwards?
A. The file order is incorrect. The destination file must be mentioned before the command to ensure redirection.
B. The command sed did not match anything in that file therefore the output is empty.
C. When the shell establishes the redirection it overwrites the target file before the redirected command starts and opens it for reading.
D. Redirection for shell commands do not work using the > character. It only works using the | character instead.
Q22. - (Topic 3)
Which of the following commands displays the contents of a gzip compressed tar archive?
A. gzip archive.tgz | tar xvf -
B. tar ztf archive.tgz
C. gzip -d archive.tgz | tar tvf -
D. tar cf archive.tgz
Q23. CORRECT TEXT - (Topic 3)
Which command displays a list of all background tasks running in the current shell? (Specify ONLY the command without any path or parameters.)
Q24. - (Topic 3)
Which of the following commands will NOT update the modify timestamp on the file /tmp/myfile.txt?
A. file /tmp/myfile.txt
B. echo "Hello" >/tmp/myfile.txt
C. sed -ie "s/1/2/" /tmp/myfile.txt
D. echo -n "Hello" >>/tmp/myfile.txt
E. touch /tmp/myfile.txt
Q25. - (Topic 3)
Which of the following command sets the Bash variable named TEST with the content FOO?
A. set TEST="FOO"
B. TEST = "FOO"
C. var TEST="FOO"
Q26. - (Topic 1)
During a system boot cycle, what program is executed after the BIOS completes its tasks?
A. The bootloader
B. The inetd program
C. The init program
D. The kernel
Q27. - (Topic 3)
In compliance with the FHS, in which of the directories are man pages found?
Q28. - (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.
Q29. - (Topic 3)
Which of the following commands moves and resumes in the background the last stopped shell job?
Q30. - (Topic 3)
Which of the following commands is used to change options and positional parameters for a running Bash?