LPI 101-500 Testing Engine 2021
Our pass rate is high to 98.9% and the similarity percentage between our 101-500 study guide and real exam is 90% based on our seven-year educating experience. Do you want achievements in the LPI 101-500 exam in just one try? I am currently studying for the LPI 101-500 exam. Latest LPI 101-500 Test exam practice questions and answers, Try LPI 101-500 Brain Dumps First.
Free 101-500 Demo Online For LPI Certifitcation:
NEW QUESTION 1
Which of the following shell commands makes the already defined variable TEST visible to new child processes? (Choose two.)
- A. visible TEST
- B. declare +x TEST
- C. declare –x TEST
- D. export TEST
- E. export –v TEST
Answer: D
NEW QUESTION 2
When using rpm --verify to check files created during the installation of RPM packages, which of the following information is taken into consideration? (Choose THREE correct answers.)
- A. Timestamps
- B. MD5 checksums
- C. Inodes
- D. File sizes
- E. GnuPG signatures
Answer: ABD
NEW QUESTION 3
The system is having trouble and the engineer wants to bypass the usual /sbin/init start up and run /bin/sh. What is the usual way to pass this change to the kernel from your boot loader?
- A. Start in runlevel 1.
- B. Pass init=/bin/sh on the kernel parameter line.
- C. Pass /bin/sh on the kernel parameter line.
- D. Pass start=/bin/sh on the kernel parameter line.
Answer: B
NEW QUESTION 4
What is the maximum niceness value that a regular user can assign to a process with the nice command when executing a new process?
- A. 9
- B. 19
- C. 49
- D. 99
Answer: B
NEW QUESTION 5
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 incorrec
- B. The destination file must be mentioned before the command to ensure redirection.
- C. The command sed did not match anything in that file therefore the output is empty.
- D. When the shell establishes the redirection it overwrites the target file before the redirected command starts and opens itfor reading.
- E. Redirection for shell commands do not work using the > characte
- F. It only works using the | character instead.
Answer: C
NEW QUESTION 6
A user accidentally created the subdirectory dir in his home directory. Which of the following commands will remove that directory?
- A. rmdir '~/dir'
- B. rmdir "~/dir"
- C. rmdir ~/'dir'
- D. rmdir ~/dir
- E. rmdir ~/\dir
Answer: E
NEW QUESTION 7
Which of the following commands replaces each occurrence of 'bob' in the file letter with 'Bob' and writes the result to the file newletter?
- A. sed '/bob/Bob' letter > newletter
- B. sed s/bob/Bob/ letter < newletter
- C. sed's/bob/Bob' letter > newletter
- D. sed 's/bob/Bob/g' letter > newletter
- E. sed 's/bob, Bob/' letter > newletter
Answer: D
NEW QUESTION 8
Which command displays the current disk space usage for all mounted file systems? (Specify ONLY the command without any path or parameters.)
- A. Mastered
- B. Not Mastered
Answer: A
Explanation:
du
NEW QUESTION 9
Which of the following commands print the current working directory when using a Bash shell? (Choose two.)
- A. echo “${PWD}”
- B. echo “${WD}”
- C. pwd
- D. printwd
- E. echo “${pwd}”
Answer: C
NEW QUESTION 10
Which wildcards will match the following filenames? (Choose two.) ttyS0
ttyS1 ttyS2
- A. ttyS[1-5]
- B. tty?[0-5]
- C. tty*2
- D. tty[A-Z][012]
- E. tty[Ss][02]
Answer: BD
NEW QUESTION 11
Which option to the yum command will update the entire system? (Specify ONLY the option name without any additional parameters.)
- A. Mastered
- B. Not Mastered
Answer: A
Explanation:
update, upgrade
NEW QUESTION 12
Which of the following commands enables the setuid (suid) permission on the executable /bin/foo?
- A. chmod 1755 /bin/foo
- B. chmod 4755 /bin/foo
- C. chmod u-s /bin/foo
- D. chmod 755+s /bin/foo
Answer: B
NEW QUESTION 13
After successfully creating a hard link called bar to the ordinary file foo, foo is deleted from the filesystem. Which of the following describes the resulting situation?
- A. foo and bar would both be removed.
- B. foo would be removed while bar would remain accessible.
- C. foo would be remove
- D. bar would still exist but would be unusable.
- E. Both foo and bar would remain accessible.
- F. The user is prompted whether bar should be removed, too.
Answer: B
NEW QUESTION 14
What is the process ID number of the init process on a SysV init based system?
- A. -1
- B. 1
- C. It is different with each reboot.
- D. It is set to the current run level.
Answer: C
NEW QUESTION 15
While editing a file in vi, the file changes due to another process. Without exiting vi, how can the file be reopened for editing with the new content?
- A. :r
- B. :n
- C. :w
- D. :e
Answer: D
NEW QUESTION 16
What output will be displayed when the user fred executes the following command? echo ‘fred $USER’
- A. fred fred
- B. fred /home/fred/
- C. ‘fred $USER’
- D. fred $USER
- E. ‘fred fred’
Answer: A
NEW QUESTION 17
How can the list of files that would be installed by the RPM package file apache-xml.rpm be previewed?
- A. rpm –qp apache-xml.rpm
- B. rpm –qv apache-xml.rpm
- C. rpm –ql apache-xml.rpm
- D. rpm –qpl apache-xml.rpm
Answer: D
NEW QUESTION 18
Which of the following commands brings a system running SysV init into a state in which it is safe to perform maintenance tasks? (Choose TWO correct answers.)
- A. shutdown -R 1 now
- B. shutdown -single now
- C. init 1
- D. telinit 1
- E. runlevel 1
Answer: CD
NEW QUESTION 19
Which of the following files, located in a user’s home directory, contains the Bash history?
- A. .bashrc_history
- B. .bash_histfile
- C. .history
- D. .bash_history
- E. .history_bash
Answer: B
NEW QUESTION 20
Which of the following commands redirects the output of ls to standard error?
- A. ls >-1
- B. ls <<ERR
- C. ls >&2
- D. ls >>2
- E. ls |error
Answer: C
NEW QUESTION 21
Which of the following commands updates the linker cache of shared libraries?
- A. mkcache
- B. soconfig
- C. mkldconfig
- D. lddconfig
- E. ldconfig
Answer: E
NEW QUESTION 22
Which of the following commands changes the number of days before the ext3 filesystem on /dev/sda1 has to run through a full filesystem check while booting?
- A. tune2fs -d 200 /dev/sda1
- B. tune2fs -c 200 /dev/sda1
- C. tune2fs -i 200 /dev/sda1
- D. tune2fs -n 200 /dev/sda1
- E. tune2fs --days 200 /dev/sda1
Answer: C
NEW QUESTION 23
Which SysV init configuration file is commonly used to set the default run level? (Specify the full name of the file, including path.)
- A. Mastered
- B. Not Mastered
Answer: A
Explanation:
inittab
NEW QUESTION 24
When removing a package, which of the following dpkg options will completely remove the files including configuration files?
- A. --clean
- B. --delete
- C. --purge
- D. –remove
Answer: C
NEW QUESTION 25
Which command shows all shared libraries required by a binary executable or another shared library? (Specify ONLY the command without any path or parameters.)
- A. Mastered
- B. Not Mastered
Answer: A
Explanation:
ldd
NEW QUESTION 26
Which shell command is used to continue background execution of a suspended command?
- A. &
- B. bg
- C. cont
- D. exec
- E. :&
Answer: B
NEW QUESTION 27
What is the default action of the split command on an input file?
- A. It will break the file into new files of 1,024 byte pieces each.
- B. It will break the file into new files of 1,000 line pieces each.
- C. It will break the file into new files of 1,024 kilobyte pieces each.
- D. It will break the file into new files that are no morethan 5% of the size of the original file.
Answer: B
NEW QUESTION 28
......
Thanks for reading the newest 101-500 exam dumps! We recommend you to try the PREMIUM Simply pass 101-500 dumps in VCE and PDF here: https://www.simply-pass.com/LPI-exam/101-500-dumps.html (243 Q&As Dumps)