Study your flashcards anywhere!

Download the official Cram app for free >

  • Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

How to study your flashcards.

Right/Left arrow keys: Navigate between flashcards.right arrow keyleft arrow key

Up/Down arrow keys: Flip the card between the front and back.down keyup key

H key: Show hint (3rd side).h key

A key: Read text to speech.a key

image

Play button

image

Play button

image

Progress

1/25

Click to flip

25 Cards in this Set

  • Front
  • Back
Your company is discussing plans to migrate desktop and laptop users to Linux. One
concern raised by the users is whether Linux supports the use of CDs and DVDs for
both work files and for listening to music. Which of the following is an appropriate
answer?
Linux supports both the UDF and iso9660 file systems for CD and DVD use.
You receive a message that you’ve successfully backed up hda2 on your Linux
system. What is hda2?
the second partition on your main hard disk
You have purchased a special monitor for your computer and the instructions tell
you to make a minor modification to the inittab file. Where would you locate this
file on a typical Linux system?
/etc
You’re frantically trying to get ready for a meeting and want to access a file in your
home directory, but you are currently working in a public directory open to all
users. What command can you enter to instantly go to your home directory?
cd
Your new colleague asks which partitions vendors recommend setting up on a Linux
system. Which of the following partitions do you include in your response?
root
swap
/boot
You have mounted a remote network drive and now you want to unmount that
drive. Which of the following commands do you use?
umount
When you connect a printer via a USB port on your Linux computer, which type
of device special file is used to handle streams of data sent to and from the printer?
character special file
Some of the users in your company create and delete so many files that they have
problems with fragmented disks. Which of the following new features in the ext4
file system help to reduce fragmentation problems?
extents
In UNIX and Linux systems, what source of extra memory space is used when
working on tasks and files that exceed the RAM capacity on chips in the computer?
swap partition
You are always scheduled for two or three meetings each day and need to keep an
eye on the time. What PS1 variable parameter can you set in order to have your
command prompt display the current time?
\t
You have been working in several directories for the past hour and right now you
don’t remember which directory you’re in currently. What command can you use to
show your current working directory?
pwd
A member of your department has given you permissions to view the contents of
the accounting directory under his home directory. The name of his home directory
is bramirez. Which of the following commands should you use to display the contents
of the accounting directory?
ls /home/bramirez/accounting
It’s late and you have been working all day to finish a report. Before you go home,
you want to copy several files, including your report file. What copy command
should you use to ensure that you don’t inadvertently copy an older report file over
the newer report file you’ve been working on for the last four hours?
cp -u
Which of the following are file systems supported by UNIX and Linux operating
systems?
NTFS
vfat
ufs
ext
You are helping a friend who is new to Linux. You want to determine which entries
under her home directory are directories instead of files. When you perform a long
listing of the home directory’s contents, what do you use to distinguish a directory
from a file?
The very first character in the line for an entry will be “d” for directory or “-” for an
ordinary file.
Your boss is planning to do some house cleaning by deleting several old files. However,
she mentions that she doesn’t want to delete an important file inadvertently.
What command can she use so that she is prompted to make sure she wants to
delete a particular file?
rm -i
You are curious about the error and system logs kept by your operating system. In
what main directory under the root (/) would you most likely find these logs?
/var
A friend of yours is trying to make more space on his hard disk drive and is considering
deleting the /lib directory because he has heard it mostly contains games that
he doesn’t use. What is your recommendation?
Keep the /lib directory because it holds security information, shared library images,
kernel modules and other important files.
Which of the following are permissions that can be granted to a file?
write
execute
read
Which of the following commands enable(s) you to set permissions on a directory
after you create it?
chmod
You have created many notes to yourself that end in .txt. Which of the following
commands enables you to list all of the .txt files in your home directory while you
are in the Bash shell?
ls *.txt
Where is virtual memory located?
the hard disk
When you see the permissions rwx--x--x associated with a file, what permissions are
granted?
The owner has read, write, and execute (rwx); the group has execute (--x); and the others have execute (--x)
Your boss wants to use the command to view hidden files and also wants to know
how to find them among other files. What do you tell her?
ls -a
You have many files that begin with the word “account” and that end with two digits
to designate a year, such as account00, account 01, and so on. What is the command
that enables you to view all of these files that start with account?
ls account*