CompTIA Linux+ (LX0-101) Practice Questions
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
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
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
A technician wants to upgrade an existing package to a new software package called software.rpm. Which of the following commands will accomplish this?
A. rpm -el ./software.rpm
B. rpm -Ve ./software.rpm
C. rpm -ieh ./software.rpm
D. rpm -Uvh ./software.rpm
Which of the following is the correct way to upgrade an existing software package using yum?
A. yum new package
B. yum get package
C. yum retrieve package
D. yum update package
Which of the following key commands in vi allows a technician to append to the current line?
Which of the following commands will replace the first instance of the string “linux” to “Linux” in the text file called history.txt and outputs the results to standard output?
A. sed r/linux/Linux/ history.txt
B. sed g/linux/Linux/ history.txt
C. sed s/linux/Linux/ history.txt
D. sed w/linux/Linux/ history.txt
Which of the following symbols redirects standard output?
Which of the following commands will allow an administrator to change the priority of a running process?
Which of the following is the BEST way to direct the standard output of a program to both the screen and a file at the same time?
C. redirection (>)
How to find out the Linux release that Apache is installed on?
[email protected]:~$ cat /etc/*release
DISTRIB_DESCRIPTION="Ubuntu 14.04.1 LTS"
VERSION="14.04.1 LTS, Trusty Tahr"
PRETTY_NAME="Ubuntu 14.04.1 LTS"
Apache status command:
[email protected]:~$ apachectl status
Can't create config directory (/.w3m)!Apache Server Status for localhost (via ::1)
Server Version: Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.5
Server MPM: prefork
Server Built: Jul 22 2014 14:36:38
Current Time: Tuesday, 06-Jan-2015 21:23:23 AEDT
Restart Time: Tuesday, 06-Jan-2015 20:53:42 AEDT
Parent Server Config. Generation: 1
Parent Server MPM Generation: 0
Server uptime: 29 minutes 41 seconds
Server load: 0.01 0.02 0.05
Total accesses: 57 - Total Traffic: 505 kB
CPU Usage: u1.45 s.09 cu0 cs0 - .0865% CPU load
.032 requests/sec - 290 B/second - 8.9 kB/request
1 requests currently being processed, 9 idle workers
"_" Waiting for Connection, "S" Starting up, "R" Reading Request,
"W" Sending Reply, "K" Keepalive (read), "D" DNS Lookup,
"C" Closing connection, "L" Logging, "G" Gracefully finishing,
"I" Idle cleanup of worker, "." Open slot with no current process
How to find the Apache configuration file within Ubuntu?
By default, your freshly installed system will have no SSH service enabled, which means you won’t be able to connect to it remotely using SSH protocol (TCP port 22), therefore installing SSH server will be one of the first post-install steps on your system…
Google is phasing out the internal use of Microsoft’s ubiquitous Windows operating system because of security concerns, according to several Google employees.
The directive to move to other operating systems began in earnest in January, after Google’s Chinese operations were hacked, and could effectively end the use of Windows at Google, which employs more than 10,000 workers internationally.
After discovering the convenience of streaming my modest collection of movies through Donna’s XPS M1330’s HDMI connection, the decision was inevitably made to build my first HTPC. It will take time obviously due to other priorities and the availability of spare cash but I know for a fact that it will be fun. Firstly I know nothing about building a HTPC but I’m guessing it’s no different to building a gaming pc, I just need to decide on the components to suit my needs and not to mention my budget. The goal is to come up with a HTPC that will stream movies, music, view photos, occasionally browse the net and record FTA programs if the need ever arises. I have set myself a budget of $1000 and as of this moment I feel that this might be enough but it is more than likely I’m going to need more than that.
So let’s begin, the basic components I’m going to need are listed below but bear in mind this list will change a number of times during this project. I’m hoping to have it completed by the end of August which is the time when hopefully our housing expenses are a little bit clearer.
- HTPC Case with Remote
- GPU with native HDMI
- Power Supply
- Sound Card
- Wireless Card
- HDD (1 TeraByte or 2 TeraByte)
- Operating System (Linux or Windows?)
- Keyboard & Mouse
- Memory (RAM)
For those that might be reading this blog entry, please consider the fact that this is not a tutorial as such but more of a work log from a HTPC newbie, I’ll try to document each purchase and each decision I make regarding a component so that it may provide you with some sort of idea when building your very own HTPC.
Let’s take a quick step back and let me specify what I’m actually going to use this HTPC for and how I have imagined it to be set up in my lounge room. This media center pc will be connected to a Samsung 50″ PS50B850 plasma and a Sony Muteki 7.2 channel surround sound sytem, however I haven’t fully worked out the exact configuration whether I’m going to connect the HTPC through the Muteki and make use of it’s HDMI pass through functionality or just plug straight into the TV via HDMI and then use a fibre optic cable to connect via AUX/SAT on the Muteki. Ideally I would like to use less cables than what I have to considering these cables don’t come cheap at all. Anyways I can worry about that in 8-12 weeks time when it;’s completely built. Unless of course it makes an impact with my choice of hardware.
- April 2018
- September 2017
- March 2017
- July 2016
- February 2016
- September 2015
- July 2015
- June 2015
- March 2015
- February 2015
- January 2015
- December 2014
- September 2014
- May 2014
- April 2014
- February 2014
- January 2014
- July 2013
- June 2013
- February 2013
- January 2013
- December 2012
- November 2012
- October 2012
- August 2012
- July 2012
- June 2012
- May 2012
- March 2012
- January 2012
- November 2011
- October 2011
- September 2011
- August 2011
- July 2011
- June 2011
- May 2011
- April 2011
- March 2011
- February 2011
- January 2011
- December 2010
- November 2010
- October 2010
- September 2010
- August 2010
- July 2010
- June 2010
- May 2010
- March 2010
- January 2010
- October 2009
- September 2009
- August 2009
- July 2009
- June 2009
- May 2009
- April 2009
- March 2009
- October 2008
- April 2008
- January 2008
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- March 2007
- February 2007
- January 2007
- December 2006
- November 2006
- October 2006
- July 2006
- June 2006
- May 2006
- April 2006
- March 2006
- February 2006
- January 2006
- December 2005
- August 2005
- July 2005
- May 2005
- March 2005