Excellent 101-500 PDF Dumps With 100% VCE4Dumps Exam Passing Guaranted [Oct-2021]
100% Pass Your 101-500 LPIC-1 Exam 101, Part 1 of 2, version 5.0 at First Attempt with VCE4Dumps
NEW QUESTION 10
The command dbmaint & was used to run dbmaint in the background. However, dbmaint is terminated after logging out of the system. Which alternative dbmaint invocation lets dbmaint continue to run even when the user running the program logs out?
- A. dbmaint &>/dev/pts/null
- B. wait dbmaint
- C. bg dbmaint
- D. job -b dmaint
- E. nohup dbmaint &
Answer: C
NEW QUESTION 11
Which of the following commands lists all currently installed packages when using RPM package management?
- A. rpm --list -installed
- B. rpm --query --all
- C. yum --list --installed
- D. yum --query --all
Answer: B
NEW QUESTION 12
Which of the following commands changes all CR-LFline breaks in the text file userlist.txtto Linux standard LF line breaks and stores the result in newlist.txt?
tr -d '\r' < userlist.txt > newlist.txt
- A.
- B. tr -c '\n\r' '' <newlist.txt> userlist.txt
- C. tr -s '/^M/^J/' userlist.txt newlist.txt
- D. tr '\r' '\n' userlist.txt newlist.txt
- E. tr '\r\n' '' <userlist.txt> newlist.txt
Answer: B
NEW QUESTION 13
What happens after issuing the command vi without any additional parameters?
- A. vi starts and requires the user to explicitly either create a new or load an existing file.
- B. vi starts and loads the last file used andmoves the cursor to the position where vi was when it last exited.
- C. vi exits with an error message as it cannot be invoked without a file name to operate on.
- D. vi starts and opens a new file which is filled with the content of the vi buffer if the buffer contains text.
- E. vi starts in command mode and opens a new empty file.
Answer: E
NEW QUESTION 14
Which of the following commands will produce the following output?
- A. ps
- B. jobs
- C. netstat
- D. proclist
Answer: A
NEW QUESTION 15
Running chmod 640 filea.txtas a regular user doesn't update filea.txt's permission. What might be a reason why chmod cannot modify the permissions? (Choose two.)
- A. filea.txtis a hard link whose permissions are inherited from the target and cannot be set directly.
- B. filea.txthas the sticky bit set and a regular user cannot remove this permission.
- C. filea.txtis owned by another user and a regular user cannot change the permissions of another user's file.
- D. filea.txtis a symbolic link whose permissions are a fixed value which cannot be charged.
- E. filea.txthas the SetUID bit set which imposes the restriction that only the rootuser can make changes to the file.
Answer: C,D
NEW QUESTION 16
Which of the following partition types is used for Linux swap spaces when partitioning hard disk drives?
- A. 0
- B. 1
- C. 2
- D. fd
- E. 8e
Answer: B
NEW QUESTION 17
Which of the following files, located in a user's home directory, contains the Bash history?
- A. history
- B. bash_histfile
- C. bash_history
- D. history_bash
- E. bashrc_history
Answer: C
NEW QUESTION 18
What is true regarding UEFI firmware? (Choose two.)
- A. It is loaded from a fixed boot disk position
- B. It is stored in a special area within the GPT metadata
- C. It stores its entire configuration on the /boot/ partition
- D. It can use and read certain file systems
- E. It can read and interpret partition tables
Answer: B,D
NEW QUESTION 19
Which of the following commands can be used to display the inode number of a given file?
- A. ln
- B. ls
- C. cp
- D. inode
Answer: B
NEW QUESTION 20
Which of the following signals is sent to a process when the key combination Ctrl+C is pressed on the keyboard?
- A. SIGKILL
- B. SIGINT
- C. SIGSTOP
- D. SIGTERM
- E. SIGCONT
Answer: B
NEW QUESTION 21
Which of the following commands will reduce all consecutive spaces down to a single space?
- A. tr '\s' ' ' < a.txt > b.txt
- B. tr -r ' ' '\n' < a.txt > b.txt
- C. tr -s ' ' < a.txt > b.txt
- D. tr -d ' ' < a.txt > b.txt
- E. tr -c ' ' < a.txt > b.txt
Answer: C
NEW QUESTION 22
FILL BLANK
Which command displays a list of all background tasks running in the current shell? (Specify ONLY the command without any path or parameters.)
Answer:
Explanation:
jobs
NEW QUESTION 23
Which of the following commands will print important system information such as the kernel version and machine hardware architecture?
- A. info
- B. uname
- C. arch
- D. sysinfo
- E. lspci
Answer: B
NEW QUESTION 24
A Debian package creates several files during its installation. Which of the following commands searches for packages owning the file /etc/debian_version?
- A. apt -r /etc/debian_version
- B. find /etc/debian_version -dpkg
- C. apt-file /etc/debian_version
- D. apt-get search /etc/debian_version
- E. dpkg -S /etc/debian_version
Answer: E
Explanation:
Explanation/Reference:
NEW QUESTION 25
Which of the following statements is correct for a command ending with an &character?
- A. The command's output is redirected to /dev/null.
- B. The command is run in background of the current shell.
- C. The command's input is read from /dev/null.
- D. The command's output is executed by the shell.
- E. The command is run as a direct child of the initprocess.
Answer: B
NEW QUESTION 26
A user accidentally created the subdirectory \dirin his home directory. Which of the following commands will remote that directory?
- A. rmdir ~/'dir'
- B. rmdir ~/\\dir
- C. rmdir '~/\dir'
- D. rmdir "~/\dir"
- E. rmdir ~/\dir
Answer: E
Explanation:
Explanation/Reference:
NEW QUESTION 27
Which of the following commands lists the dependencies of the RPM package file foo.rpm?
- A. rpm -ld foo.rpm
- B. rpm -dep foo
- C. rpm -pD foo
- D. rpm -qpR foo.rpm
- E. rpm -R foo.rpm
Answer: D
NEW QUESTION 28
During a system boot cycle, what is the program that is run after the BIOS completes its tasks?
- A. The kernel
- B. The init program
- C. The inetd program
- D. The bootloader
Answer: D
NEW QUESTION 29
......
Trend for 101-500 pdf dumps before actual exam: https://www.vce4dumps.com/101-500-valid-torrent.html
Real Exam Questions & Answers - Lpi 101-500 Dump is Ready: https://drive.google.com/open?id=1QNRuW4VimcY4HoQS-5rdcY6MjUJTZVva