Exam1pass
Easiest way to pass IT exams
Exam
:
LX0-101
Exam Name :
CompTIA Linux+
[Powered by LPI] Exam 1
Version:DEMO
Exam1pass Help You Pass Any IT Exam
http://www.exam1pass.com
Exam1pass
Easiest way to pass IT exams
1 .
You have just added a CD.ROM drive (/dev/hdd) to your system and have added it to
yourfstab. Typically you can use which of the fol owing 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
Answer: D
2.
With Xorg 7.0, what is the name of the default font server?
A. xfserv
B. xfs
C. fonts
D. xfstt
E. fserv
Answer: B
3.
Which command (without options) would you use to display how much space is available on
all mounted partitions?
Answer: /BIN/DF
4 .
What command with all options and/or parameter wil send the signal USR1 to any
executing process of
program apache2?
Answer: KILLALL-SUSR1APACHE2
5 .
The command echo $! wil 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 shel
E. the name of the command being executed
Answer: A
6 .
Exam1pass Help You Pass Any IT Exam
http://www.exam1pass.com
Exam1pass
Easiest way to pass IT exams
You are using quota on your system. How can you see disk quota details?
A. repquota
B. quotA. I
C. quota
D. quotacheck
E. quotA. list
Answer: A
7.
What is the difference between thE.remove and thE.purge action with the dpkg command?
A. -remove removes the program, -purge also removes the config files
B. -remove only removes the program, -purge only removes the config files
C. -remove removes a package, -purge also removes all packages dependent on it
D. -remove removes only the package file itself, -purge removes all files related to the
package
Answer: A
8.
What application can be used in place of xhost? Please enter only the name without path.
Answer:
Answer: XAUTH
9 .
You have read/write permission on an ordinary file foo. You have just run In foo bar. What
would happen if you ran rm foo?
A. foo and bar would both be removed.
B. foo would be removed while bar would remain accessible.
C. foo would be removed, bar would stil exist but would be unusable.
D. Both foo and bar would remain accessible.
E. You would be asked whether bar should be removed.
Answer: B
10 .
Which of the fol owing commands wil change all CR-LF pairs in an imported text file,
userlist.txt, to Linux standard LF characters and store it as newlist.txt?
A. tr '\r\n' " < userlist.txt > newlist.txt
B. tr -c '\n\r' " < newlist.txt > userlist.txt
C. tr -d ‘\r’ < userlist.txt > newlist.txt
D. tr ‘\r’ ‘\n’ userlist.txt newlist.txt
Exam1pass Help You Pass Any IT Exam
http://www.exam1pass.com
Exam1pass
Easiest way to pass IT exams
E. tr -s ‘^M' ‘^J' userlist.txt newlist.txt
Answer: C
Exam1pass Help You Pass Any IT Exam
http://www.exam1pass.com
Add New Comment