ITN 170 | Exam 1 Study Set
False
Linux commands entered via the command line are not case sensitive.
True
Linux has only one root directory per directory tree.
False
The less command offers less functionality than the more command.
True
The operating system software is necessary for a computer to function.
True
To install Linux within a virtual machine, you can specify the path to an ISO image that contains the Linux installation media within virtualization software without having to first write the ISO image to a DVD or USB flash drive.
False
Users enter commands directly to the kernel of the Linux operating system.
Which prompt do regular users receive when logged in to the system? a. $ b. @ c. # d. !
a. $
Which two partitions do you typically create at minimum during a Fedora Linux installation? (Choose two answers.) a. / b. /boot c. swap d. /home
a. / c. swap
You know a Linux command will perform a desired function for you, but you cannot remember the full name of the command. You do remember it will flush a variable from your system. Which command typed at a command prompt displays a list of commands that would likely contain the command you desire? a. man -k flush b. man -k find all c. man flush d. man -key flush
a. man -k flush
The core component of the Linux operating system is the Linux kernel. If you were a Linux systems administrator for a company, when would you need to upgrade your Linux kernel? (Choose all that apply.) a. when you need support in Linux for new hardware b. when you need another user interface c. when you need to increase the stability of Linux d. when you need to use kernel modules
a. when you need support in Linux for new hardware c. when you need to increase the stability of Linux
What is the most common open source Web server available for Linux? a. Samba b. Apache c. Squid d. OpenStack
b. Apache
Which of the following is an absolute pathname? (Choose all that apply.) a. Home/resume b. C:\myfolder\resume c. resume d. /home/resume e. C:home/resume
b. C:\myfolder\resume d. /home/resume
Who formed the Free Software Foundation to promote open development? a. Dennis Ritchie b. Richard Stallman c. Linus Torvalds d. Ken Thompson
b. Richard Stallman
Which of the following are characteristics of Open Source Software? (Choose all that apply.) a. The value of the software is directly related to its price. b. The software is developed collaboratively. c. The source code for software is available for a small fee. d. Any bugs are fixed quickly.
b. The software is developed collaboratively. d. Any bugs are fixed quickly.
To which license does Linux adhere? a. open license b. artistic license c. GNU General Public License d. free source license
c. GNU General Public License
Which of the following Linux distributions is likely to be used by a CyberSecurity worker? a. Fedora b. Ubuntu c. Kali d. Gentoo
c. Kali
When the core components of the Linux operating system are packaged together with other Open Source Software, it is called a: a. new kernel b. new platform c. Linux distribution d. GNU Project
c. Linux distribution
Using wildcard metacharacters, how can you indicate a character that is not an a or b or c or d? a. [^abcd] b. not [a-d] c. [!a-d] d. !a-d
c. [!a-d]
What command is equivalent to the man -k keyword command? a. find keyword b. man keyword c. apropos keyword d. appaloosa keyword
c. apropos keyword
A user typed in the command pwd and saw the output: /home/jim/sales/pending. How could that user navigate to the /home/jim directory? a. cd .. b. cd /jim c. cd ../.. d. cd ./.
c. cd ../..
What will the following wildcard regular expression return: file[a-c]? a. filea-c b. filea, filec c. filea, fileb, filec d. fileabc
c. filea, fileb, filec
Which of the following is not a piece of information that the Fedora installation program prompts you for? a. time zone b. installation destination c. firewall settings d. installation language
c. firewall settings
What is the default shell in Linux called? a. SH b. BSH c. CSH d. BASH
d. BASH
After typing the ls -a command, you notice a file whose filename begins with a dot ( . ). What does this mean? a. It is a binary file. b. It is a system file. c. It is a file in the current directory. d. It is a hidden file.
d. It is a hidden file.
How can you specify a text pattern that must be at the beginning of a line of text using a regular expression? a. Precede the string with a /. b. Follow the string with a \. c. Precede the string with a $. d. Precede the string with a ^.
d. Precede the string with a ^.
Which command blanks the terminal screen, erasing previously displayed output? a. erase b. clean c. blank d. clear
d. clear
The tac command _________. a. is not a valid Linux command. b. displays the contents of hidden files . c. displays the contents of a file in reverse order last word on the line first and first word on the line last. d. displays the contents of a file in reverse order last line first and first line last.
d. displays the contents of a file in reverse order last line first and first line last.
What command can you use to safely shut down the Linux system immediately? a. shutdown -c b. shutdown -r c. down d. halt
d. halt
How can you protect a metacharacter (such as the $ character) from shell interpretation? a. Precede it with a /. b. Follow it with a \. c. Precede it with a $. d. It cannot be done as metacharacters are essential. e. Precede it with a \.
e. Precede it with a \.
True
A directory is a type of file.
Which of the following can be used on Linux to provide file and print services? a. Samba b. Apache c. Squid d. OpenStack
a. Samba
A special device file is used to ___________. a. enable proprietary custom-built devices to work with Linux b. represent hardware devices such as hard disk drives and ports c. keep a list of device settings specific to each individual user d. do nothing in Linux
b. represent hardware devices such as hard disk drives and ports
After you log in to a terminal, you receive a user interface called a ________. a. GUID b. shell c. text box d. command screen
b. shell
Which command searches for and displays any text contents of a binary file? a. text b. strings c. od d. less
b. strings
Which command displays the users who are currently logged in to the Linux system? a. finger b. who c. id d. date
b. who
Which prompt does the root user receive when logged in to the system? a. $ b. @ c. # d. !
c. #
When sitting at a computer running Linux, what key combination do you press to open the graphical terminal? a. Ctrl+Alt+G b. Ctrl+Alt+F4 c. Ctrl+Alt+F1 d. Ctrl+7
c. Ctrl+Alt+F1
Every computer consists of physical components and non-physical components. The non-physical components of a computer that understand how to work with the physical components are referred to as: a. hardware b. records c. software d. processors Hide Feedback
c. software
If a user's current directory is /home/mary/project1, which command could she use to move to the etc directory directly under the root? a. cd .. b. cd /home/mary/etc c. cd etc d. cd /etc e. cd \etc
d. cd /etc
What equivalent to the man command generally provides an easier-to-read description of the queried command and contains links to other related information? a. who b. man help c. man -descriptive d. info
d. info
What are some good reasons for using Linux in a corporate environment? (Choose all that apply.) a. Linux software is unlikely to become abandoned by its developers. b. Linux is secure and has a lower total cost of ownership than other operating systems. c. Linux is widely available for many platforms and supports many programming languages. d. Most Linux software is closed source.
a. Linux software is unlikely to become abandoned by its developers. b. Linux is secure and has a lower total cost of ownership than other operating systems. c. Linux is widely available for many platforms and supports many programming languages.
Many types of software are available today. Which type of software does Linux represent? a. open source software b. closed source software c. freeware d. shareware
a. open source software
Which of the following are factors that determine which Linux distribution a user will use? (Choose all that apply.) a. package manager support b. hardware platform c. kernel features d. language support
a. package manager support b. hardware platform c. kernel features
Which of the following are common methods for gaining support for Linux? a. HOWTO documents at www.tldp.org b. a local Linux User Group c. Internet newsgroups d. all the above
d. all the above
Which of the following kernels are developmental kernels? (Choose all that apply.) a. 2.3.4 b. 3.5.5 c. 4.1-rc5 d. 4.4.4
a. 2.3.4 c. 4.1-rc5
Which common GUI environments are available in most Linux distributions? (Choose all that apply.) a. GNOME b. CDE c. KDE d. RPM
a. GNOME c. KDE
Which culture embraced the term "GNU" (GNU's Not UNIX) and laid the free software groundwork for Linux? a. the hacker culture b. the MIT culture c. the cracker culture d. the Artificial Intelligence culture
a. the hacker culture
The vi editor can function in which two of the following modes? (Choose both that apply.) a. text b. command c. input d. interactive e. insert
b. command e. insert
Linux is a ___________ and ___________ operating system. a. production, stable b. multiuser, multitasking c. processing, operating d. large, useful
b. multiuser, multitasking
If "resume" is the name of a file in the home directory off the root of the filesystem and your present working directory is home, what is the relative name for the file named resume? a. /home/resume b. /resume c. resume d. \home\resume
c. resume
After typing the ls -F command, you notice a filename that ends with an * (asterisk) character. What does this mean? a. It is a hidden file. b. It is a linked file. c. It is a special device file. d. It is an executable file.
d. It is an executable file.
What will typing q! at the : prompt in command mode do when using the vi editor? a. quit as no changes were made b. quit after saving any changes c. nothing because the ! is a metacharacter d. quit without saving any changes
d. quit without saving any changes
Which of the following refers to the third primary partition on the second SAS hard disk within Linux? a. hdb2 b. sda3 c. hdb3 d. sdb3
d. sdb3
A user types the command head /poems/mary. What will be displayed on the terminal screen? a. the first line of the file mary b. the header for the file mary c. the first 20 lines of the file mary d. the last 10 lines of the file mary e. the first 10 lines of the file mary
e. the first 10 lines of the file mary
True
If you boot your computer from Linux live media, you will be able to use a fully-functional Linux system prior to installing Linux on permanent storage.
Which two people are accredited with creating the UNIX operating system? (Choose two answers.) a. Dennis Ritchie b. Richard Stallman c. Linus Torvalds d. Ken Thompson
a. Dennis Ritchie d. Ken Thompson
Linux was developed by __________ to resemble the _________ operating system. a. Linus Torvalds, MINIX b. Linux Torvalds, GNU c. Richard Stallman, GNU d. Richard Stallman, MINIX
a. Linus Torvalds, MINIX
Which of the following is not an example of virtualization software that can be used to install Linux within another operating system? a. Oracle VirtualBox b. Microsoft Hyper-V c. Spiceworks d. VMWare
c. Spiceworks
How can a user switch from insert mode to command mode when using the vi editor? a. Press the Ctrl+Alt+Del keys simultaneously. b. Press the Del key. c. Type a : character. d. Press the Esc key.
d. Press the Esc key.
Which command would a user type on the command line to find out the current directory in the directory tree? a. pd b. cd c. where d. pwd
d. pwd