Free 101-500 Exam Braindumps

Pass your LPIC-1 Exam 101 - Part 1 of 2 - version 5.0 exam with these free Questions and Answers

Page 11 of 49
QUESTION 46

- (Exam Topic 5)
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?

  1. A. grep –E ‘:08:[09]+:[09]+’ loga.log
  2. B. grep –E ‘:08:[00]+’ loga.log
  3. C. grep –E loga.log ‘:08:[0-9]+:[0-9]+’
  4. D. grep loga.log ‘:08:[0-9]:[0-9]’
  5. E. grep –E ‘:08:[0-9]+:[0-9]+’ loga.log

Correct Answer: E

QUESTION 47

- (Exam Topic 4)
Which type of filesystem is created by mkfs when it is executed with the block device name only and without any additional parameters?

  1. A. ext2
  2. B. ext3
  3. C. ext4
  4. D. XFS
  5. E. VFAT

Correct Answer: A

QUESTION 48

- (Exam 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?

  1. A. The file order is incorrec
  2. B. The destination file must be mentioned before the command to ensure redirection.
  3. C. The command sed did not match anything in that file therefore the output is empty.
  4. D. When the shell establishes the redirection it overwrites the target file before the redirected command starts and opens itfor reading.
  5. E. Redirection for shell commands do not work using the > characte
  6. F. It only works using the | character instead.

Correct Answer: C

QUESTION 49

- (Exam Topic 2)
Which of the following commands can be used to perform a full text search on all available packages on a Debian system?

  1. A. apt
  2. B. apt-cache
  3. C. apt-get
  4. D. apt-search
  5. E. dpkg

Correct Answer: B

QUESTION 50

- (Exam Topic 1)
Which command will display messages from the kernel that were output during the normal boot sequence? dmesg, /bin/dmesg
Solution:


Does this meet the goal?

  1. A. Yes
  2. B. No

Correct Answer: A

Page 11 of 49

Post your Comments and Discuss LPI 101-500 exam with other Community members: