Skip to Main Content
LPIC-1 Linux Professional Institute Certification Practice Tests, 2nd Edition
book

LPIC-1 Linux Professional Institute Certification Practice Tests, 2nd Edition

by Steve Suehring
October 2019
Intermediate to advanced content levelIntermediate to advanced
320 pages
5h 38m
English
Sybex
Content preview from LPIC-1 Linux Professional Institute Certification Practice Tests, 2nd Edition

Chapter 12Practice Exam 2

  1. To which file should you add an entry in order for a host to be blocked using TCP wrappers?

    1. /etc/hosts.deny
    2. /etc/tcp.wrappers
    3. /etc/wrap.config
    4. /etc/tcpwrap.conf
  2. Which of the following commands creates an alias for the ps command such that the options auwx are included when the user types psa?

    1. alias "ps auwx" = "psa"
    2. alias psa=ps uawx
    3. alias psa="ps auwx"
    4. psa="ps auwx"
  3. Which of the following conditionals in a Bash script will test if the variable DAY is equal to SUNDAY?

    1. if ($DAY == "SUNDAY")
    2. if ($DAY -eq "SUNDAY")
    3. if [[ $DAY == "SUNDAY" ]]
    4. if [ DAY = "SUNDAY" ]
  4. Which of the following commands is necessary for making a variable defined in your current shell available to child processes?

    1. export ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

LPIC-1 Linux Professional Institute Certification Study Guide: Exam 101-400 and Exam 102-400, 4th Edition

LPIC-1 Linux Professional Institute Certification Study Guide: Exam 101-400 and Exam 102-400, 4th Edition

Christine Bresnahan, Richard Blum

Publisher Resources

ISBN: 9781119611097Purchase book