CompTIALinux+XK0-004ExamPrepQuestions&
Answers.
While using the BASH, which of the following commands will switch the default display in
such a way that new applications will appear on the remote machine 192.168.1.50?
A. display 192.168.1.50
B. export DISPLAY=192.168.1.50
C. export TARGET=192...
CompTIA Linux+ XK0-004 Exam Prep Questions &
Answers.
While using the BASH, which of the following commands will switch the default display in
such a way that new applications will appear on the remote machine 192.168.1.50?
A. display 192.168.1.50
B. export DISPLAY=192.168.1.50
C. export TARGET=192.168.1.50
D. switch 192.168.1.50 - Correct Answer B. export DISPLAY=192.168.1.50
Which of the following commands will display a user's current environment variables?
(Select TWO)
A. env
B. info env
C. displayenv
D. man env
E. printenv - Correct Answer A. env & E. printenv
Which of the following is the default location of the Xorg configuration file?
A. /etc/X11/xorg.conf
B. /etc/X11/X.conf
C. /etc/X/xorg.conf
D. /etc/Xorg/X.conf - Correct Answer A. /etc/X11/xorg.conf
Which of the following commands will explicitly start a full X windows system session?
A. startx
B. xinit
C. X
D. startX - Correct Answer A. startx
,After installing and enabling the latest accelerated video card driver, the system fails to
start the X Window System on a reboot. Which of the following drivers is MOST likely to
allow the system to start the GUI?
A. vesa
B. vega
C. xorg
D. krfb - Correct Answer A. vesa
Which of the following commands will cause gedit to use workstation1 for I/O?
A. DISPLAY=workstation1 gedit
B. CONNECT=workstation1 gedit
C. GRAPHICS=workstation1 gedit
D. CONSOLE=workstation1 gedit - Correct Answer A. DISPLAY=workstation1 gedit
Which of the following commands will show status information of the print queues?
A. lpstatus
B. showprint
C. lpqueue
D. lpstat - Correct Answer lpstat
Where is the default location of sendmail binary?
A. /usr/lib/sendmail
B. /etc/mail/sendmail
C. /var/spool/sendmail
D. /sbin/sendmail - Correct Answer A. /usr/lib/sendmail
Which of the following files holds information on the system's time zone?
A. /etc/timezone
B. /etc/localtime
C. /etc/time
, D. /etc/localzone - Correct Answer B. /etc/localtime
Which of the following commands will show active network connections?
A. ipstat
B. ifstat
C. netstat
D. networkstat - Correct Answer C. netstat
A user has inserted a USB drive but it has not been automatically mounted. Which of the
following commands will show the device name of the USB drive?
A. mount -t usb
B. fdisk -l
C. usb_scan
D. partprobe - Correct Answer B. fdisk -l
Which of the following will burn an ISO image to a writable SCSI CD-ROM drive located
on SCSI address 0,1,0?
A. cdrecord -v -eject dev=0,1,0 data.iso
B. cdrecord -t scsi -eject -d=0,1,0 data.iso
C. cdrecord dev=0,1,0 -t=data.iso
D. cdrecord -V -dev 0,1,0 -eject data.iso - Correct Answer A. cdrecord -v -eject dev=0,1,0
data.iso
Which of the following /etc/fstab entries represents a Read-Write file system that can be
mounted by any user?
A. /dev/hdc1 /data ext3 noauto,users 0 0
B. /dev/hdc1 /data auto defaults 0 0
C. /dev/hdc1 /data auto noauto,user 0 0
D. /dev/hdc1 /data ext3 defaults 0 0 - Correct Answer A. /dev/hdc1/data ext3
noauto,users 0 0
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller Lectjosh. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $20.49. You're not tied to anything after your purchase.