101-500試験無料問題集「Lpi LPIC-1 Exam 101, Part 1 of 2, version 5.0 認定」

Upon booting one of your Linux boxes, you notice a message scrolling by that does not look right, but it goes so fast, you do not have a chance to read it. What command could you use to view that message after the boot process completes?
正解:
dmesg
Which option to the yum command will update the entire system? (Specify ONLY the option name without any additional parameters.)
正解:
update, upgrade
While editing a file in vi, you realize that you are changing the wrong file. What vi command sequence will allow you to quit without saving your changes?

Which of the following commands is used to change options and positional parameters for a running Bash?

The command echo $! will produce what output?

To prevent users from being able to fill up the / partition, the _______ directory should be on a separate partition if possible because it is world writeable.
正解:
tmp
/tmp
You have finished updating and resolving dependencies for some source code. What command should you run before recompiling the code into binary form?

You want to the command foo to take its input from the file foobar and send its output to the program bar. Which of the following command lines will do this?

What umask value will result in the default access permissions of 600 (rw-------) for files and (rwx
------) for directories? (Provide only the numerical umask value)
正解:
0077
Which of the following directories on a 64 bit Linux system typically contain shared libraries?
(Choose two.)

You are using an application that you want to appear on the screen of another machine.
What environment variable would you have to set or edit to achieve this?

When should grep -F or the fgrep command be used to search the content of text files?

Which file should be edited to select the network locations from which Debian installation package files are loaded?

Which TWO runlevels should never be declared as the default runlevel?