Free 101-500 – LPIC-1 Exam 101 - Part 1 of 2 - version 5.0 Practice Test Question

Free demo downloads

Loading demo links...

Showing 13–15 of 15 questions

Question 13 (Devices, Linux Filesystems, Filesystem HierachyStandard)

Which of the following commands will change all CR-LF pairs in an imported text file, userlist.txt, to Linux standard LF characters and store it as newlist.txt?

Select an option, then click Submit answer.

  • ○

    tr ‘\r\n’ ‘’ < userlist.txt > newlist.txt

  • ○

    tr –c ‘\n\r’ ‘’ < newlist.txt > userlist.txt

  • ○

    tr –d ‘\r’ < userlist.txt > newlist.txt

  • ○

    tr ‘\r’ ‘\n’ userlist.txt newlist.txt

  • ○

    tr –s ‘^M’ ‘^J’ userlist.txt newlist.txt


Question 14 (Devices, Linux Filesystems, Filesystem HierachyStandard)

Which character, added to the end of a command, runs that command in the background as a child process of the current shell?

Select an option, then click Submit answer.

  • ○

    !

  • ○

    +

  • ○

    &

  • ○

    %

  • ○

    #


Question 15 (Linux Installation and Package Management)

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?

Select an option, then click Submit answer.

  • ○

    LD_LOAD_PATH

  • ○

    LD_LIB_PATH

  • ○

    LD_LIBRARY_PATH

  • ○

    LD_SHARE_PATH

  • ○

    LD_RUN_PATH