Act now and download your LPI 201-400 test today! Do not waste time for the worthless LPI 201-400 tutorials. Download Regenerate LPI LPIC-2 Exam 201 Part 1 of 2 version 4.0 exam with real questions and answers and begin to learn LPI 201-400 with a classic professional.
Q25. CORRECT TEXT - (Topic 8)
You want to create a compressed backup of the users home directories. What utility should you use?
Answer:
tar
Explanation: The tar utility is used to archive multiple files into one ‘tarball’. The –z option invokes another utility called gzip and instructs it to compress the files before tar archives them.
Q26. - (Topic 2)
How is the source code for the main Linux kernel modules distributed?
A. It is included with the Linux kernel source code.
B. The kernel modules are downloaded on demand as they are used during compilation.
C. The kernel modules have their own release cycle and can be maintained separately from the Linux kernel source.
D. It is provided as a separate download alongside the Linux kernel source code of the same version.
Answer: A
Q27. - (Topic 8)
You previously ran the find command to locate a particular file. You want to run that command again. What would be the quickest way to do this?
✑ fc –l find <enter> n
✑ history –l find <enter> history n
A. Retype the command
B. fc –n find
Answer: A
Explanation: The –l option used with the fc command is used to list the commands saved in the ‘history’. The ‘fc –l find’ command will display all recent commands starting with the word ‘find’. After pressing enter, the list is displayed and you can recall the command by entering the number (n) of the command.
Reference: http://www.computerhope.com/unix/uhistory.htm
Incorrect Answers
B:The syntax of the ‘history’ command is wrong.
C:Whether it would be quicker to retype the command or not depends on the name of file you were looking for previously. It is unlikely that this is a trick question, so the answer would be to use the fc command.
D:The ‘fc –n find’ command would display the recent ‘find’ commands, but without the command numbers. It would not run the required command.
Q28. - (Topic 3)
Which command is used to install a new LILO boot loader?
A. lilo
B. lilo-config
C. lilo-install
D. install-lilo
Answer: A
Q29. CORRECT TEXT - (Topic 5)
What keyword is missing in the following line from /etc/fstab in order to make a USB flash device writeable by the user fred when mounted:
/dev/sda1 /mnt/usbflash vfat defaults,users, _____ =fred,umask=022, 0 0 (Provide the option name only without any settings)
Answer:
uid
Q30. - (Topic 4)
The main configuration file for autofs has this entry:
/home /etc/auto.home
What is the meaning of the /etc/auto.home file?
A. It has the indirect maps for the mounting of file systems.
B. It has configuration information, such as passwords and keys, for the remote file server.
C. It has configuration information on settings for the /home mount point.
D. It is the holds the SSL key to allow authentication to the remote file server.
Answer: A
Q31. - (Topic 6)
What is the command to add another IP address (192.168.1.2) to a network interface (eth0) that already has (at least) one IP address in the 192.168.1.0/24 subnet?
A. ip add addr 192.168.1.2/32 dev eth0
B. ifconfig eth0 192.168.1.2 netmask 255.255.255.255
C. ip addr add 192.168.1.2/32 dev eth0
D. ipconfig eth0 192.168.1.2
Answer: C
Q32. - (Topic 8)
After typing in a new command and pressing enter, you receive an error message indicating incorrect syntax. This error message originated from?
A. The shell.
B. The operating system.
C. The command.
D. The kernel.
Answer: C
Explanation: When you run a ‘command’ you are actually instructing the shell to run a program. If the shell can find the program, it will run it. The shell knows how to start the program, but it doesn’t know the syntax of the program/command. If you get an error saying ‘incorrect syntax’, the error will be coming from the program.
Incorrect Answers
A:The shell knows how to start the program, but it doesn’t know the syntax of the program/command. A shell error message would be for example, ‘<command>: Command not found.’.
B:The operating system runs the shell. It doesn’t know about specific commands.
D:The kernel is effectively the operating system. It doesn’t know about specific commands.