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?
A. foo < foobar | bar
B. foo < foobar > bar
C. foo | foobar > bar
D. foo | bar < foobar
E. foo > bar < foobar
You have run out of disk space on a partition. Which of the following would be an easy way to move data to a new partition without reconfiguring the path to the data in existing applications?
A. Run ext2fs ACL.
B. Use a hard link.
C. Use a symbolic link.
D. Use the loopback device.
E. Create a block device offset.
You want the default permissions for your files to be -rw-r----- . HOW must you set umask?
A. 037
B. 640
C. 038
D. 027
What does the following command do? cat '$TEST'
A. Displays a bash syntax error message.
B. Displays the contents of the file named $TEST if it exists.
C. Waits for the user to enter text and then echos the text back.
D. Displays the contents of the file named inside the back quotes.
E. Displays the contents of the named by the environment variable TEST.
You are experimenting with a binary in /tmp/foo.d that expects its configuration file at /etc/foo.conf. You don't want to save it there, but use a symbolic link to /tmp/foo.d/foo.conf instead. Which command would accomplish that?
A. ln -s /tmp/foo.d/foo.conf /etc/foo.conf
B. ln /tmp/foo.d/foo.conf /etc/foo.conf
C. ln -s /etc/foo.conf /tmp/foo.d/foo.conf
D. ln /etc/foo.conf /tmp/foo.d/foo.conf
Which of the following lines from /etc/X11/XF86Config indicates what fonts can be found on a font server?
A. FontPath= server
B. Fonts "unix/:7100"
C. FontPath "unix/:7100"
D. Fonts= server
E. Fontserver = "servername"
You just started X for the first time and noticed that the display does not use the entire screen. What program can you use to fix this?
A. xvidtune
B. xf86config
C. XF86Setup
D. tweakscreen
What TWO permissions must a user have in order to run a shell script?
A. read
B. write
C. execute
D. browse on the directory
E. users cannot run shell scripts
You have just added a CD-ROM drive (/dev/hdd) to your system and have added it to your fstab. Typically you can use which of the following commands to mount media in that drive to /mnt/cdrom?
A. mount/dev/cdrom/mnt/cdrom
B. mount/dev/cdrom
C. mount -t cdrom/dev/cdrom/mnt/cdrom
D. mount/mnt/cdrom
E. automount/mnt/hdd/mnt/cdrom
Which command will create an ext3 filesystem on /dev/hda2?
A. /sbin/mke2fs -d /dev/hda2
B. /sbin/mke2fs -j /dev/hda2
C. /sbin/mke2fs -m 3 /dev/hda2
D. /sbin/mke2fs -c ext3 /dev/hda2
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.