PDF (New 2022) Actual Lpi 101-500 Exam Questions [Q45-Q68]

Share

PDF (New 2022) Actual Lpi 101-500 Exam Questions

Dumps Moneyack Guarantee - 101-500 Dumps UpTo 90% Off


LPIC-1 Linux Administrator , 101-500 Certified Professional salary

The average salary of a LPIC-1 Linux Administrator in

  • United State - 55,123 USD
  • Europe - 42,347 EURO
  • England - 40,432 POUND
  • India - 10,42,327 INR

GNU Together with Commands for Unix

This is the third section that students should focus on when studying for the LPI 101-500 exam and it covers the following skills:

  • Transform execution priorities and their processes;
  • Working on the line for various commands;
  • Utilize the streams, redirects, and pipes for stdout & files;
  • Core editing of diverse files while being aware of Emacs, nano as well as vim.
  • Edit text streams with the help of filters like UNIX commands located in GNU textutils;
  • Design, control, and remove different processes by sending signals to them;
  • Providing fundamental file management by copying and removing files;
  • Look for text files via common basic as well as extended expressions;

NEW QUESTION 45
In Bash, inserting 1>&2 after a command redirects

  • A. standard output to standard error.
  • B. standard error to standard output.
  • C. standard error to standard input.
  • D. standard output to standard input.
  • E. standard input to standard error.

Answer: A

 

NEW QUESTION 46
Which wildcards will match the following filenames? (Choose two.)
ttyS0
ttyS1
ttyS2
ttyS[1-5]

  • A. tty[Ss][02]
  • B. tty*2
  • C.
  • D. tty[A-Z][012]
  • E. tty?[0-5]

Answer: A,B

 

NEW QUESTION 47
The /etc/_______ file lists currently mounted devices.

Answer:

Explanation:
mtab

 

NEW QUESTION 48
Which of the following commands creates or, in case it already exists, overwrites a file called datawith the output of ls?
ls 3> data

  • A. ls >>> data
  • B. ls >> data
  • C. ls > data
  • D.
  • E. ls >& data

Answer: B

 

NEW QUESTION 49
Which of the following commands reboots the system when using SysV init? (Choose TWO correct answers.)

  • A. telinit 0
  • B. telinit 6
  • C. shutdown -r now
  • D. shutdown -r "rebooting"
  • E. shutdown -k now "rebooting"

Answer: B,C

 

NEW QUESTION 50
Which command is used in a Linux environment to create a new directory? (Specify ONLY the command without any path or parameters.)

Answer:

Explanation:
mkdir, /usr/bin/mkdir

 

NEW QUESTION 51
Which command is used to create and initialize the files used to store quota information?
(Specify ONLY the command without any path or parameters.)

Answer:

Explanation:
quotacheck

 

NEW QUESTION 52
Which of the following commands generates a list of user names from /etc/passwdalong with their login shell?

  • A. colrm 1,7 /etc/passwd
  • B. cut -d: -f1,7 /etc/passwd
  • C. chop -c 1,7 /etc/passwd
  • D. column -s : 1,7 /etc/passwd
  • E. sort -t: -k1,7 /etc/passwd

Answer: B

 

NEW QUESTION 53
Which file should be edited to select the network locations from which Debian installation package files are loaded?

  • A. /etc/apt/apt.conf
  • B. /etc/dpkg/dpkg.cfg
  • C. /etc/apt/apt.conf.d
  • D. /etc/dpkg/dselect.cfg
  • E. /etc/apt/sources.list

Answer: E

 

NEW QUESTION 54
Which command reads and displays the current contents of the Kernel Ring Buffer on the command line?
(Specify ONLY the command without any path or parameters.)

Answer:

Explanation:
dmesg

 

NEW QUESTION 55
Which SysV init configuration file is commonly used to set the default run level? (Specify the full name of the file, including path.)

Answer:

Explanation:
inittab

 

NEW QUESTION 56
Instead of supplying an explicit device in /etc/fstab for mounting, what other options may be used to identify the intended partition? (Choose TWO correct answers.)

  • A. NAME
  • B. UUID
  • C. LABEL
  • D. ID
  • E. FIND

Answer: B,C

 

NEW QUESTION 57
Which of the following commands redirects the output of lsto standard error?
ls >-1

  • A. ls |error
  • B. ls >&2
  • C.
  • D. ls <<ERR
  • E. ls >>2

Answer: E

 

NEW QUESTION 58
Given the following input stream:
txt1.txt
atxt.txt
txtB.txt
Which of the following regular expressions turns this input stream into the following output stream?
txt1.bak.txt
atxt.bak.txt
txtB.bak.txt
s/^.txt/.bak/

  • A. s/[.txt]/.bak$1/
  • B. s/txt$/bak.txt/
  • C.
  • D. s/^txt$/.bak^/
  • E. s/txt/bak.txt/

Answer: D

 

NEW QUESTION 59
Which of the following commands are valid in the GRUB 2 configuration file? (Choose two.) menuentry

  • A. kpartx
  • B. pxe-ifconfig
  • C.
  • D. insmod
  • E. uefi

Answer: A,E

 

NEW QUESTION 60
Which of the following commands prints a list of available package updates when using RPM-based package management?

  • A. yum list-update
  • B. dpkg list
  • C. dpkg check-update
  • D. yum list
  • E. yum check-update

Answer: E

 

NEW QUESTION 61
Which of the following apt-getsubcommands installs the newest versions of all currently installed packages?
auto-update

  • A. update
  • B. full-upgrade
  • C. install
  • D.
  • E. dist-upgrade

Answer: B

 

NEW QUESTION 62
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. init 1
  • B. telinit 1
  • C. shutdown -single now
  • D. runlevel 1
  • E. shutdown -R 1 now

Answer: A,B

 

NEW QUESTION 63
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.txthas the SetUID bit set which imposes the restriction that only the rootuser can make changes to the file.
  • B. filea.txtis a symbolic link whose permissions are a fixed value which cannot be charged.
  • C. filea.txtis owned by another user and a regular user cannot change the permissions of another user's file.
  • D. filea.txthas the sticky bit set and a regular user cannot remove this permission.
  • E. filea.txtis a hard link whose permissions are inherited from the target and cannot be set directly.

Answer: B,C

 

NEW QUESTION 64
Which function key is used to start Safe Mode in Windows NT?

  • A. F10
  • B. F6
  • C. Windows NT does not support Safe Mode
  • D. F8

Answer: C

 

NEW QUESTION 65
Which of the following commands enables the setuid (suid) permission on the executable /bin/foo?

  • A. chmod 4755 /bin/foo
  • B. chmod u-s /bin/foo
  • C. chmod 1755 /bin/foo
  • D. chmod 755+s /bin/foo

Answer: A

 

NEW QUESTION 66
During a system boot cycle, what is the program that is run after the BIOS completes its tasks?

  • A. The inetd program
  • B. The bootloader
  • C. The init program
  • D. The kernel

Answer: B

 

NEW QUESTION 67
Which of the following examples for Bash file globbing matches a file named root-can-do-this.txt when used in the directory holding that file? (Choose three correct answers.)

  • A. root***{can,may}-do-this.[tT][xX][tT]
  • B. root*can*do??this.txt
  • C. r[oOoO]t-can-do*.txt
  • D. {root,user,admin}-can-??-this.txt
  • E. root*can?do-this.{txt,odt}

Answer: C,D,E

 

NEW QUESTION 68
......

Updated Jan-2022 Pass 101-500 Exam - Real Practice Test Questions: https://www.lead2passexam.com/Lpi/valid-101-500-exam-dumps.html

Pass Your Exam With 100% Verified 101-500 Exam Questions: https://drive.google.com/open?id=16QPrIKFiDol4aJFb-ICYsQIZXKZKMeFJ