WorksheetsMidka
Total questions: 70
Worksheet time: 39mins
One of the jobs of the kernel is to
Transfer mail from one machine to another
Manage the system’s resources
Load the operating system after the computer is turned on
Turn source code into machine code
Unix is:
A distribution of Linux
A text editor
An operating system
A type of hardware
Linux is written in
c
.net
java
PERL
C++
Source code refers to:
The interface that software uses to talk to the kernel
The license that dictates how you may use and share the software
The version of a program that the computer runs on the CPU
A human readable version of computer software
Open source means:
You must support the software you share
You can view the software’s source code
You cannot charge anything for the software
You must share your changes
. Most of the tools that are part of Linux systems come from:
Red Hat and Debian
The Open Source Initiative
The Linux foundation
The GNU project
What does a distribution provide to add and remove software from the system?
Bash
Application Programming Interface (API)
Partitioning tool
Package manager
Compiler
Ubuntu is derived from which distribution?
Scientific Linux
Slackware
Fedora
Debian
Red Hat Enterprise Linux
The most important consideration when choosing an operating system is
What the computer will do
The licensing model of the operating system
The operating system’s mascot
How much performance is needed
Whether or not it is cloud-friendly
Linux is not Unix because:
It’s not good enough
It’s free
It’s not made by the Open Group
There are too many distributions
It hasn’t undergone certification
A maintenance cycle:
Should be long so that you have time before you need to upgrade
Only has meaning for paid software
Should be short so you always have the freshest releases
Describes how long a version of software will be supported
Describes how often updates for software come out
What command do you use to deonstrate messagaes to screen?
display
type
echo
What command do you use to execute the same command executed three command ago?
@-3
!3
&3
!-3
Which environment variable contains a list of directories that is searched for commands to execute?
PS2
PATH
EXEC
PS1
What one character treats the character that follows it as if it was surrounded by single quotes?
/
\
@
#
To search the man page sections for the keyword example, which of the following command lines could you execute?
who example
apropos example
man -f example
whatis example
What does info command?
The _____ command can be used to find any file, not just commands or man pages.
The _____ command merges all available documentation into a single “book”.
The _____ command is normally executed to search for a command or man page
The _____ command is normally executed daily to update the database of all files that are on the system.
What does updateb command?
The _____ command can be used to find any file, not just commands or man pages.
The _____ command is normally executed to search for a command or man page
The _____ command merges all available documentation into a single “book”.
The _____ command is normally executed daily to update the database of all files that are on the system.
What does locate command?
The _____ command can be used to find any file, not just commands or man pages.
The _____ command merges all available documentation into a single “book”.
The _____ command is normally executed to search for a command or man page
The _____ command is normally executed daily to update the database of all files that are on the system.
What does man command?
The _____ command searches each of the sections in order until it finds a match
The _____ command can be used to find any file, not just commands or man pages.
The _____ command merges all available documentation into a single “book”
The _____ command is normally executed to search for a command or man page.
Which command is used in order to exit viewing a man page
q
z
x
i
Choose the same command as apropos.
man -k
man info
whatis
man -f
The directory where additional documentation for software packages most likely can be found is:
/usr/software/doc
/var/lib/doc
/usr/share/doc
/var/share/doc
Describing how computer software and hardware connect and interact to create a computer network is a specification of _____________
Computer architecture
CPU
Disks
Shell
. ________ is the primary component of a computer that acts as its “control center.”
Computer architecture
CPU
BIOS
Buses
. ______is a program fixed and embedded on a device’s microprocessor that helps to initialize hardware operations and manage the data flow to and from the operating system (OS) at the time of bootup.
Direct Memory Access
CPU
Buses
BIOS
What is Embedded Systems:
Users must support the systems themselves
You can view the software’s source code
Businesses cannot charge anything for the software, only the hardware
Systems designed to do a specific task on hardware optimized for only that purpose
The long software release cycle is:
Only offered by Red Hat and SUSE
Makes programming more difficult since new features cannot be use
Characterized by infrequent security fixes
Defined by businesses that want stability
POP and IMAP are related to:
Reading and writing music
Serving web pages
Sharing files
Is the following path absolute or relative sysadmin/Documents?
Absolute
Relative
The most popular Linux platform for mobile phones is
BlackBerry
Android
Slackware
IOS
MobileLinux
The release cycle:
Describes how long software will be supported
Dictates how often software is updated
Should be long so that you have time before you need to upgrade
Should be short so you always have the freshest releases
Only has meaning for paid software
What does a distribution provide to add and remove software from the system?
Bash
Compiler
Application Programming Interface (API)
Package Manager
Partitioning tool
A maintenance cycle:
Describes how long a version of software will be supported
Describes how often updates for software come out
Should be long so that you have time before you need to upgrade
Only has meaning for paid software
Should be short so you always have the freshest releases
When choosing a distribution of Linux, you should consider:
(choose five)
If the application software is supported by the distribution
Will commercial support be required for the OS
Does the distribution offer a “stable” version
Will users require a GUI
Does your organization require long-term support for the system
Which of the following are examples of desktop software?
(choose two)
Web browser
Web server
Music player
File share
Complier
Which of the following pieces of software deal with file sharing?
(choose three)
PostgreSQL
Netatalk
NFS
Samba
X-Windows
The Linux shell:
(choose three)
Has a built-in text editor
Is customizable
Has a scripting language
Is responsible for tracking the location of configuration files
Allows you to launch programs
Virtualization means:
Many users can share one hard drive
A single host can be split up into multiple guests
Two users get different memory spaces on the same machine
A machine can swap memory to disk
A user can connect to a server over the network and use a virtual console
In graphical mode, you can get to a shell by running which applications?
(choose two)
Xterm
Gbash
Terminal
Guiterm
console
Source code refers to:
The interface that software uses to talk to the kernel
The version of a program that the computer runs on the CPU
A human-readable version of computer software
The license that dictates how you may use and share the software
Open source means:
(choose two)
You cannot charge anything for the software
You can view the software’s source code
You can modify the software’s source code
You must support the software you share
You must share your changes
A copyleft provision in a software license means:
You give up your copyright to the software
If you redistribute the software, you must distribute the source to any changes you make
You must provide support for your modifications
You must provide free copies of the software if you use it
You may not link against third party closed source software
Linux is distributed under which license?
MIT
GPLv3
Linux Foundation
BSD
GPLv2
Creative Commons licenses allow you to:
(choose three)
Allow or disallow commercial use
Specify whether or not changes must be shared
Receive royalties on the use of the work
Specify whether or not people may distribute changes
Get a veto on where the work is used
Which environment variable contains a list of directories that is searched for commands to execute?
PATH
EXEC
PS1
PS2
Select the command that can report the location of a command:
what
which
where
A pair of double quotes (") will prevent the shell from interpreting any metacharacter.
True or False?
True
False
The shell program interprets the commands you type into the terminal into instructions that the Linux operating system can execute.
True
False
The acronym CLI stands for:
Command Line Interface
Command Line Interpreter
Computer Link Interpreter
Computer Line Interface
The most common shell used for Linux distributions is the ________ shell.
Zsh
Tsch
Fish
Bash
Which two pager commands are used by the man command to control movement within the document?
(choose two)
more
grep
page
less
To search the man page sections for the keyword example, which of the following command lines could you execute?
(choose two)
whatis example
man -k example
apropos example
man -f example
The statement that describes the difference between a man page and an info page is:
The man page is a long detailed reference; the info page is very terse.
The man page is like a guide; the info page is a more concise reference.
The info page is like a guide; a man page is a more concise reference.
There is very little difference between them.
The following sections commonly appear on a man page:
(choose three)
SYNOPSIS
NAME
DESCRIPTION
LICENSE
The top-level directory on a Linux system is represented as:
/
/home
The tilde (~) is used to represent:
Any two single characters
A user’s home directory
Nothing; it has no special meaning
The directory above the current working directory
The cd command by itself will take you to what directory?
None; it is not a valid command
The directory above the current working directory
Your home directory
The system root directory
What command will allow you to change your current working directory?
ls
св
list
chdir
The first character in a long listing (ls -l) indicates:
The permissions
The owner
If something is a file, directory, or symbolic link
The size
Which of the following commands can be used to rename a file?
cp
mv
rm
name
The touch command can be used to:
(choose two)
Update the timestamp of existing files
Change a file’s name
Create new files
Change ownership of a file
Which of the following are glob characters?
(choose three)
The dash character -
The question mark ?
The asterisk *
The square brackets [ and ]
The main purpose of using glob characters is to be able to provide a list of filenames to a command.
True or False?
True
False
The asterisk character is used to represent zero or more of any character in a filename.
True
False
Compression of a file works by:
Removing the high order bit from each byte
Consolidating multiple files into one
Eliminating gaps within the file
Removing redundant information
Storing most of the data on removable media and just leaving a pointer
Lossy compression:
(choose three)
Sacrifices some quality
Usually results better compression than x
Sacrifices some quality
Is often used with images
Decompresses to an identical version as the original
Is often used with images
Which of the following commands can be used to compress a file?
(choose three)
cat
bzip2
zip
gzip
bunzip2
The three main modes of tar are:
(choose three)
List
Extract
Copy
Create
Compress
In the command tar -czf foo.tar.gz bar, what is the purpose of the f flag?
Tells tar to print the name of each file as it is processed
Specifies extra compression is to be used
Tells tar to copy only files, and not directories
Tells tar to read from the file that follows the flag
Tells tar to write to the file that follows the flag
