Operating Systems Exam 1

Ace your homework & exams now with Quizwiz!

Freeware

Adobe Acrobat Reader

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

Saves changes to file and terminates vi

:wq

Dennis Richie

C and co-creator of UNIX

Richard Stallman

Free Software Foundation

Closed Source

Microsoft Windows

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. / and B. swap

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 and C. 4.1-rc5

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 and D. Ken Thompson

Which common GUI environments are available in most Linux distributions? (Choose all that apply.) A. GNOME B. TCP C. KDE D. RPM

A. GNOME and C. KDE

Which line will be displayed with the following command? $ grep "^I" file1 A. I went to B. How I wished C. Jack and I D. 208-496-1100

A. I went to

How can you tell if your Linux OS has a development kernel? (Select two) A. Kernel version includes the postfix -rc* where * is a number B. The desktop screen will display "Development Kernel" C. The OS will terminate abruptly and frequently D. Kernel version has an odd numbered minor number if it is a pre-2.6.0 release

A. Kernel version includes the postfix -rc* where * is a number and D. Kernel version has an odd numbered minor number if it is a pre-2.6.0 release

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

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

What do you need to install Linux on a stand-alone PC? (Select three) A. PC B. USB flash drive or DVD C. Fedora ISO image D. Screwdriver

A. PC B. USB flash drive or DVD C. Fedora ISO image

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

Which commands could be used to receive helpful information on Linux or shell commands? (Select three) A. apropos B. find C. info D. man

A. apropos C. info and D. man

What is a terminal in Linux? (Select three) A. Emulates video terminal B. Associated with a shell C. Has the device name of tty1, tty2, tty3, etc. D. A building where passengers embark and disembark aircraft

A. emulates video terminal B. Associated with a shell, C. Has the device name of tty1, tty2, tty3, etc.

Which command was given for the output below? A. ls -a B. ls -l C. ls -F D. ls -R

A. ls -a

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

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 (e.g. fixes and optimizations) D. cost to obtain distro

A. package manager support B. hardware platform C. kernel features (e.g. fixes and optimizations)

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 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 and 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 statement describes the regular expressions? (Select two) A. Interpreted by the shell B. Interpreted by text tool programs such as grep C. Finds matches within text files D. Finds matches in filenames

B. Interpreted by text tool programs such as grep and C. Finds matches within text files

What are two things $ su - command will do? A. Display $ as the shell prompt B. Load the root user's environmental variables C. Display the summary list of root user's processes D. Login as the root user

B. Load the root user's environmental variables and D. Login as the root user

Which statement is true for the regular expression metacharacter '?' ? A. Matches 0 or more occurrences of the previous character B. Matches 0 or 1 occurrences of the previous character C. Matches 1 or more occurrences of the previous character D. Matches 1 occurrences of the previous character

B. Matches 0 or 1 occurrences of the previous character

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

At a minimum, Linux requires two partitions. What are they? A. boot B. root C. swap D. var

B. Root and C. Swap

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 And D. Any bugs are fixed quickly.

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 and E. insert

Which command is NOT used to display the content of a text file? A. cat B. dog C. head D. tail

B. dog

What command was given for the following output? [root@localhost dev]# __________ tty6 tty60 tty61 tty62 tty63 A. ls tty6? B. ls tty6* C. ls tty6[0-3] D. ls tty6[0123]

B. ls tty6*

Linux is a ___________ and ___________ operating system A. production, stable B. multiuser, multitasking C. processing, operating D. large, useful

B. multiuser, multitasking

What are two commands you can use to power down the Linux machine immediately? A. powerdown B. poweroff C. shutdown -P now D. halt -P now

B. poweroff and C. shutdown -P now

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

What is the shell prompt for the root user? A. ! B. @ C. # D. $

C. #

Which prompt does the root user receive when logged in to the system? A. $ B. @ C. # D. !

C. #

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

Which one is NOT a popular text editor on Linux? A. vi B. Emacs C. Python D. nano

C. Python

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 Workstation

C. Spiceworks

What will be the output? [user1@localhost ~]$ echo $HOME /home/user1 [user1@localhost ~]$ echo "This is my \$HOME" A. This is my /home/user1 B. This is my \/home/user1 C. This is my $HOME D. This is my \$HOME

C. This is my $HOME

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

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

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

C. software

As a virtual machine

Can run multiple OSs simultaneously

Dual-boot

Can run multiple OSs, but not simultaneously

What is a hacker in early days of UNIX? A. A person who cuts wood with heavy blows B. A person who is a wacker C. A person who gains unauthorized access to computers D. A person who attempts to expand their knowledge of computing through experimentation

D. A person who attempts to expand their knowledge of computing through experimentation

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.

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.

Which statement is true for the wildcard metacharacter '?' ? A. Matches 0 or more characters B. Matches 0 or 1 character C. Matches 1 or more characters D. Matches 1 character

D. Matches 1 character

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 ^

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 one is NOT an implication of Open Source Software (OSS)? A. Software is developed rapidly through widespread collaboration B. Software bugs are noted and promptly fixed C. Software features evolve quickly based on users needs D. Software will receive a high bid from potential buyers of the project

D. Software will receive a high bid from potential buyers of the project

Which one is NOT a Linux distribution (at least not widely used if it exists)? A. openSUSE B. Debian C. Red Hat D. Yellow Hat

D. Yellow Hat

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

If a user's current directory is /home/mary/project1, which command could she use to move to the etc directory which is directly under the root? A. cd .. B. cd /home/mary/etc C. cd etc D. cd /etc E. cd \etc

D. cd /etc

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 bring down the Linux system immediately? A. shutdown -c B. shutdown -d C. down D. halt

D. halt

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

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

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

From a bootable live media DVD/USB

Does not require installation

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 \.

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

Fedora Linux is a branch of Debian Linux. True or False?

False

Linux commands entered via the command line are not case sensitive. True or False?

False

The less command offers less functionality than the more command. True or False?

False

Users enter commands directly to the kernel of the Linux operating system. True or False

False

The more command supports the use of arrow keys to navigate while less command does not. True or False?

False?

Shareware

Free for a limited time/use

Stand-alone

Highest performance

Linus Torvalds

Linux

Enters the insert modes and places a new line above the current line

O

Open Source

The source code is made available to the public

A Linux distribution is a collection of bundle software containing the Linux kernel and libraries, combined with add-on software specific to a certain use. True or False?

True

GNU General Public License stipulates that the source code of any software published under its license must be freely available. If someone modifies that source, that person must also redistribute that source code freely. True or False?

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. True or False?

True

Linux has only one root directory per directory tree. True or False?

True

The /root user account is created during the installation process; however, the associated root password is NOT set during the install. True or False?

True

The operating system software is necessary for a computer to function. True or False?

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. True or False?

True

Underlying kernel is common to all types of Linux distributions. True or False?

True

Ken Thompson

UNIX

Removes the current line

dd

Enters the insert mode and places the cursor before the current character

i


Related study sets

Module 8: The production process: how do we make it?

View Set

Integrated Curriculum Final Sasser

View Set

Fluid, electrolyte, and acid-base balance.

View Set

Maternal Newborn ATI Practice Questions

View Set