When in Normal mode in vi, which command character will insert a blank line below the current cursor position and place the insert cursor at the beginning of the new line?
A. a
B. i
C. n
D. o
In which directory must definition files be placed to add additional repositories to yum?
A. /etc/yum.repos.d
B. /etc/yum.repos.d/
C. yum.repos.d
D. yum.repos.d/
An administrator has sent their current vi process with a PID of 1423 to the background on the command line. Assuming no other processes are in the background, what single command with no options or parameters will bring the vi process to the foreground?
A. fg
An administrator has issued the following command: grub-install --root-directory=/custom-grub /dev/sda In which directory will the new menu.lst file be found? (Provide the full directory path only without the
filename)
A. /custom-grub/boot/grub
B. /custom-grub/boot/grub/
What is the purpose of the bash built-in export command?
A. To allow disks to be mounted remotely.
B. To run a command as a process in a sub-shell.
C. To make the command history available to sub-shells.
D. To setup environment variables for applications.
E. To share NFS partitions for use by other systems on the network.
You are having some trouble with a disk partition and you need to do maintenance on this partition but your users home directories are on it and several are logged in. Which command would disconnect the users and allow you to safely execute maintenance tasks?
A. telinit 1
B. shutdown -r now
C. killall -9 inetd
D. /bin/netstop --maint
E. /etc/rc.d/init.d/network stop
What file contains kernel level logging information such as output from a network driver module when it is loaded?
A. /var/log/kern.log
B. /var/log/messages/kern.log
C. messages/kern.log
What command will print a list of usernames (first column) and their corresponding user id (uid, third column) from /etc/passwd?
A. cut -d: -fl,3 /etc/passwd
B. chop -c l,3 /etc/passwd
C. tac l-3 /etc/passwd
D. fmt -u /etc/passwd
Select the line that best represents what permissions the /etc/passwd file should have
A. -rw------- 1 root root 531 Apr 3 12:36 /etc/passwd
B. -rw-r--r-- 1 root root 531 Apr 3 12:36 /etc/passwd
C. -rw-r--r-- 1 1 1 531 Apr 3 12:36 /etc/passwd
D. all answers listed are not correct
E. all answers listed are correct
The command echo $! will produce what output?
A. the process id of last background command
B. the exit status of the last command
C. the exit status of the last background command
D. the process id of the current shell
E. the name of the command being executed
Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only GAQM exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your LCP-001 exam preparations and GAQM certification application, do not hesitate to visit our Vcedump.com to find your solutions here.