LPI 201-450 - LPIC-2 Exam 201 Exam

Page:    1 / 12   
Total 60 questions

Which of the following commands erases the contents of the /dev/sdb3 partition?

  • A. rm /dev/sdb3
  • B. dd if=/dev/zero of=/dev/sdb3
  • C. dd of=/dev/zero if=/dev/sdb3
  • D. umount /dev/sdb3


Answer : B

Which of the following files will be looked for and used by GNU make, if one of them exists, unless a different file is specified on the command line when trying to compile software from source code? (Choose two.)

  • A. configure
  • B. config.h.in
  • C. makefile
  • D. Makefile
  • E. Makefile.in


Answer : CD

FILL BLANK -
What command is used to send messages to all users currently logged in? (Specify ONLY the command without any path or parameters.)



Answer : wall

Which of the following commands restores only those files containing lpi in their name from the archive lpifiles.tar.gz?

  • A. tar xvzf lpifiles.tar.gz --wildcards "˜*lpi*"™
  • B. tar xvzwf lpifiles.tar.gz "˜*lpi*"™
  • C. tar -xvfz lpifiles.tar.gz --deep "˜*lpi*"™
  • D. tar -xvzf lpifiles.tar.gz --subdirs "˜*lpi*"™
  • E. tar xvzf lpifiles.tar.gz --globbing "˜*lpi*"™


Answer : A

A regular user has just run -
./configure && make && make install
to build and install a program. However, the installation fails. What could be done to install the program? (Choose two.)

  • A. Install the binaries manually with suinstall
  • B. Run make install with root privileges
  • C. Do not run ./configure in order to maintain the default configuration for correct installation
  • D. Rerun ./configure with a --prefix option where the user has permissions to write
  • E. Run make install_local to install into /usr/local/


Answer : BD

Page:    1 / 12   
Total 60 questions