[Jun 24, 2023] Updates Up to 365 days On Valid 101-500 Braindumps [Q49-Q71]

Share

[Jun 24, 2023] Updates Up to 365 days On Valid 101-500 Braindumps

Best Quality101-500 Exam Questions Lpi Test To Gain Brilliante Result

NEW QUESTION # 49
Which of the following commands print the current working directory when using a Bash shell? (Choose two.)

  • A. printwd
  • B. pwd
  • C. echo "${PWD}"
  • D. echo "${pwd}"
  • E. echo "${WD}"

Answer: B


NEW QUESTION # 50
To what environment variable will you assign or append a value if you need to tell the dynamic linker to look in a build directory for some of a program's shared libraries?

  • A. LD_SHARE_PATH
  • B. LD_LIBRARY_PATH
  • C. LD_LIB_PATH
  • D. LD_LOAD_PATH
  • E. LD_RUN_PATH

Answer: B


NEW QUESTION # 51
You want to preview where the package file, apache-xml.i386.rpm, will install its files before installing it.
What command do you issue?

  • A. rpm -ql apache-xml.i386.rpm
  • B. rpm -qp apache-xml.i386.rpm
  • C. rpm -qpl apache-xml.i386.rpm
  • D. rpm -qv apache-xml.i386.rpm

Answer: C


NEW QUESTION # 52
Which of the following commands overwrites the bootloader located on /dev/sda without overwriting the partition table or any data following it?

  • A. dd if=/dev/zero of=/dev/sda bs=512
  • B. dd if=/dev/zero of=/dev/sda bs=512 count=1
  • C. dd if=/dev/zero of=/dev/sda bs=440
  • D. dd if=/dev/zero of=/dev/sda bs=440 count=1

Answer: D


NEW QUESTION # 53
Which of the following commands can be used to perform a full text search on all available packages on a Debian system?

  • A. apt-cache
  • B. dpkg
  • C. apt-get
  • D. apt
  • E. apt-search

Answer: A


NEW QUESTION # 54
What is the process ID number of the init process on a SysV init based system?

  • A. It is different with each reboot.
  • B. 0
  • C. It is set to the current run level.
  • D. 1
  • E. 2

Answer: B


NEW QUESTION # 55
Given a log file loga.log with timestamps of the format DD/MM/YYYY:hh:mm:ss, which command filters out all log entries in the time period between 8:00 am and 8:59 am?

  • A. grep -E ':08:[09]+:[09]+' loga.log
  • B. grep loga.log ':08:[0-9]:[0-9]'
  • C. grep -E loga.log ':08:[0-9]+:[0-9]+'
  • D. grep -E ':08:[00]+' loga.log
  • E. grep -E ':08:[0-9]+:[0-9]+' loga.log

Answer: E


NEW QUESTION # 56
Which of the following commands can be used to determine how long the system has been running? (Choose TWO correct answers.)

  • A. top
  • B. uname -u
  • C. up
  • D. time -up
  • E. uptime

Answer: A,E


NEW QUESTION # 57
Which of the following commands can be used to display the inode number of a given file? (Choose two.)

  • A. inode
  • B. ln
  • C. cp
  • D. stat
  • E. ls

Answer: D,E


NEW QUESTION # 58
Consider the following directory:
drwxrwxr-x 2 root sales 4096 Jan 1 15:21 sales
Which command ensures new files created within the directory sales are owned by the group sales? (Choose two.)

  • A. chmod 2775 sales
  • B. chgrp -p sales sales
  • C. setpol -R newgroup=sales sales
  • D. chown --persistent *.sales sales
  • E. chmod g+s sales

Answer: A,B


NEW QUESTION # 59
Which of the following are valid stream redirection operators within Bash? (Choose THREE correct answers.)

  • A. >>>
  • B. <<<
  • C. %>
  • D. >
  • E. <

Answer: B,D,E


NEW QUESTION # 60
Consider the following output from the command ls -i:

How would a new file named c.txt be created with the same inode number as a.txt(Inode 525385)?
ln -h a.txt c.txt

  • A. ln -i 525385 c.txt
  • B. ln a.txt c.txt
  • C. ln -f c.txt a.txt
  • D. ln c.txt a.txt

Answer: C


NEW QUESTION # 61
In order to display all currently mounted filesystems, which of the following commands could be used? (Choose two.)

  • A. lsmounts
  • B. free
  • C. cat /proc/self/mounts
  • D. mount
  • E. cat /proc/filesystems

Answer: C,D


NEW QUESTION # 62
In compliance with the FHS, in which of the following directories are documentation files found?

  • A. /usr/local/share/documentation
  • B. /usr/share/documentation
  • C. /var/share/doc
  • D. /usr/share/doc
  • E. /etc/share/doc

Answer: C


NEW QUESTION # 63
When using regular expressions, which of the following characters match the beginning of a line?

  • A. ^
  • B. $
  • C. ?
  • D. +
  • E. *

Answer: A


NEW QUESTION # 64
What is the difference between the i and a commands of the vi editor?

  • A. i (independent rows) starts every new line at the first character whereas a (aligned rows) keeps the indentation of the previous line.
  • B. i (interactive) requires the user to explicitly switch between vi modes whereas a (automatic) switches modesautomatically.
  • C. i (interrupt) temporarily suspends editing of a file to the background whereas a (abort) terminates editing.
  • D. i (insert) inserts text before the current cursor position whereas a (append) inserts text after the cursor.

Answer: D


NEW QUESTION # 65
Which of the following commands determines a file's format by using a definition database file which contains information about all common file types?
type

  • A. pmagic
  • B. hash
  • C.
  • D. file
  • E. magic

Answer: E


NEW QUESTION # 66
Which of the following commands print the current working directory when using a Bash shell? (Choose two.)

  • A. printwd
  • B. pwd
  • C. echo "${pwd}"
  • D. echo "${PWD}"
  • E. echo "${WD}"

Answer: B,D

Explanation:
Explanation/Reference:


NEW QUESTION # 67
Which file in /proc describes the IRQs that are used by various kernel drivers? (Specify the file name only without any path.)

Answer:

Explanation:
interrupts


NEW QUESTION # 68
Which file in the /proc filesystem lists parameters passed from the bootloader to the kernel? (Specify the file name only without any path.)

Answer:

Explanation:
cmdline, /proc/cmdline


NEW QUESTION # 69
Which of the following commands will display the inode usage of each mounted filesystem?

  • A. df -i
  • B. lsfs -i
  • C. printfs -i
  • D. du -i

Answer: A


NEW QUESTION # 70
Which umask value ensures that new directories can be read, written and listed by their owning user, read and listed by their owning group and are not accessible at all for everyone else?

  • A. 0036
  • B. 0027
  • C. 0029
  • D. 0750
  • E. 0

Answer: B


NEW QUESTION # 71
......

Focus on 101-500 All-in-One Exam Guide For Quick Preparation: https://exams4sure.briandumpsprep.com/101-500-prep-exam-braindumps.html