Operating Environments - Exam 1
What should you open if you want to add snap-ins to create a custom management console? 1) Powershell 2) MMC 3) services 4) Local security policy 5) computer management
2) MMC
What tool should you use to configure which devices and services start when Windows boots? 1) Event viewer 2) System config 3) Task scheduler 4) Services 5) Services and Task Scheduler
2) System config
What is the name of the power state in which the computer is in S3 state, but prepared for the S4 state? 1) standby 2) hybrid sleep 3) hibernate 4) soft off 5) hibernate and standby
2) hybrid sleep
The command line prompt for the system administrator is represented by the _________ symbol.
#
Which prompt does the root user receive when logged in to the system?
#
Which prompt do regular users receive when logged in to the system?
$
The ___ environment variable displays the full path of the current working directory.
$PWD
What command is equivalent to the 'man -k "keyword"' command?
'apropos "keyword"'
Which command blanks the terminal screen, erasing previously displayed output?
'clear'
What command can you use to safely shut down the Linux system immediately?
'halt'
What equivalent to the 'man' command generally provides an easier-to-read description of the queried command and also contains links to other related information?
'info'
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?
'man -k flush'
Which command displays the users who are currently logged in to the Linux system?
'who'
In Linux, the ___ wildcard can take the place of any string of characters.
*
In Linux, the ________ wildcard can take the place of any string of characters.
*
When granting privileges in Linux, use a ___ before the permission to grant (allow) them.
+
When revoking privileges in Linux, use a ___ before the permissions to disallow (remove) them.
-
Which of the following are directories you would find in the top level hierarchy of the root file system?
- /proc - /etc - /lib - /boot
Which new function in Windows 10 allows you to switch a single monitor between sets of open apps? - Application virtualization - Multiple monitors - App groups - Virtual desktops - Multiple desktops
- Multiple desktops
You are logged into a Linux system and see a # prompt. By default, this prompt is used _____ -for ordinary user accounts -none of these choices -when you are printing a document -for superusers -when you want to runa program
-for superusers
As a programmer, your supervisor has assigned you to check the documentation and copyright lines in 50 programs. This information appears in the first 15 lines of each program file. What command can you use to quickly check each file? -None of these choices -less -15 filename -more | -l15 filename -head -n 15 filename -front -15 filename
-head -n 15 filename
When using the cp command to copy a source file to a destination file, UNIX/LInux might overwrite the destination file without warning unless you use the ___ option.
-i
Which of the following modes is reserved for the system admin in unix/linux? -priveleged mode -foundation mode -kernel mode -command prompt mode -user mode
-kernel mode
Display the alst 5 lines of the /etc/termcap file.
-n5 /etc/termcap
When using the mount command in Linux, use the ___ option to specify a file system to mount.
-t
When using the mount command in Linux, use the ____ option to specify a file system to mount.
-t
UNIX/Linux systems interpret ____ to mean the parent directory.
..
The root of a file system is denoted by the ____.
/
Which two partitions do you typically create at minimum during a Fedora Linux installation?
/ and swap
In Linux, the ___ directory contains binaries or executables, which are the programs needed to start the system and perform other essential system tasks.
/bin
The ____ directory contains executables, which are the programs needed to start the system and perform other essential system tasks
/bin
In Linux, the _____ directory normally contains the files needed by the bootstrap loader (the utility that starts the operating system) and the kernel (operating system) images.
/boot
In what directory would you find the kernel images?
/boot
The ____ directory contains the kernel (operating system) images.
/boot
Files in _____ reference system devices. They access system devices and resources, such as the hard disks, mice, printers, consoles, modems, memory, and CD/DVD drives.
/dev
In what directory would you most like look for files that are corrupted?
/etc
The ____ directory contains configuration files that the system uses when the computer starts.
/etc
The _____ directory contains configuration files that the system uses when the computer starts, and it contains system-critical information stored in files such as passwd
/etc
Which of the following directories contains configuration files that the system uses when the computer starts? /ini /etc /bin /boot /pro
/etc
Your computer won't start properly from the hard disk and so you use a backup floppy boot disk that you created. After the computer boots, in what directory would you most like look for the files that are corrupted? -/tmp -/root -None of these choices -/home -/etc
/etc
If you plan on having multiple users access the system, you can create a(n) _____partition, which is home to all users' directories. /home /boot /usr /documents /subnet
/home
In Linux, the ___ directory is used to offer disk space for users, such as on a system that has multiple user accounts.
/home
partition that is on home directory and provides storage space for all users.
/home partition
Which of the following directories occupies no space on a hard drive? /tmp None of these choices /sbin /proc /var
/proc
The ___ directory in Linux is the home directory for the system administrator.
/root
Software offered to users such as accounting programs or office software is typically found in the ___ on a Linux system.
/usr
partition in which to store some or all of the nonkernel operating system programs that will be accessed by users.
/usr partition
The _____ directory on a Linux system holds subdirectories that contain files such as error logs and other system performance logs that are useful to the system administrator
/var
You can create a ____ partition to hold files that are created temporarily, such as files used for printing documents (spool files) and files used to record monitoring and administration data, often called log files.
/var
partition that holds temporary created files.
/var partition
In the Linux octal permission format, the number __ is no permissions
0
In the Linux octal permission format, the number __________ is read and execute.
0555
In the Linux octal permission format, the number ___ is execute
1
In the Linux octal permission format, the number _____ is execute.
1
Which setting in the Network & Internet category lets you configuren Windows 10 to connect to a network through an intermediary server? 1) Proxy 2) Ethernet 3) Mobile hotspot 4) All of the choices 5) Wi-Fi
1) Proxy
Which snap-ins are available in Computer Management? 1) Task Scheduler 2) Services 3) Security configuration management 4) Folder Options 5) Device manager
1) Task Scheduler 2) Services 5) Device manager
In the Linux octal permission format, the number ___ is write.
2
Which of the following accurately describe the Administrative Tools available in the Control Panel? Select all that apply 1) You can change the screen resolution. 2) You can change power options. 3) Most are MMC consoles. 4) You can manage device drivers. 5) You can schedule tasks.
3) Most are MMC consoles. 4) You can manage device drivers. 5) You can schedule tasks.
Which settings in the update & security category control anti-malware functionality? 1) Backup and Restore Center 2) Windows update 3) None of these choices 4) Windows Firewall with Advance Security 5) Recovery
3) None of these choices
Some versions of Linux, such as Fedora and Red Hat Enterprise Linux, SUSE, and Knoppix, recognize up to ______ characters in your user name. -15 -6 -32 -128 -8
32
in the linux octal permission format, the number ___ is read
4
What tool should you use to configure computer to communicate with external disks over standard Ethernet networks? 1) iSCSI initiator 2) System Configuration 3) Windows Firewall 4) None of these choices 5) Network and Sharing Center
4) None of these choices
Notification & actions can be found in which category of the Settings tool? 1) Accounts 2) Personalization 3) Devices 4) System 5) None of these choices
4) System
In the Linux octal permission format, the number ___ is read and execute.
5
If you want to configure connectivity for a user's work of Office 365, which settings category should you open? 1) Network & Internet 2) Administrative Tools 3) Ease of Access 4) Devices 5) Accounts
5) Accounts
What PowerShell cmdlet shows all the properties and methods available for services? 1) Show-Services | List-Member 2) List-Services | Show - All 3) Get-Services | List 4) Show-All | List-Services 5) Get-Service | Get-Member
5) Get-Service | Get-Member
Which of the following is used by apps to connect to databases? 1) SQL 2) Local ports 3) DB sources 4) RPC 5) ODBC
5) ODBC
In newer versions of UNIX, passwords must contain how many characters? 1 6 5 2 8
6
In Linux, the ___ wildcard can take the place of any single character.
?
in linux, the ____ wildcard can take the place of any single character.
?
a(n) ____________________ loader is a utility that starts the operating system
?boot?
Which Control Panel applet is a centralized panel to view security and maintenance information for Windows 7?
Action Center
________ is a place where you can review and resolve system messages.
Action Center
From the Linux command line, press _________ to move the cursor to the previous word.
Alt+b
From the Linux command line, press ___ delete a word or consecutive characters.
Alt+d
From the Linux command line, press _____ to move the cursor to the position just before the first character of the next word.
Alt+l
From the Linux command line, press __________ to move the cursor to the position just before the first character of the next word.
Alt+l
is a feature that automatically performs an action when new media is inserted into a removable device such as a DVD player or USB drive. Windows 7 supports different default actions for different types of media that are inserted.
Auto play
What is the default shell in Linux called?
BASH
The ________ Control Panel applet provides access to Windows recovery tools for files and systems.
Backup and Restore Center
Linux uses which of the following shells as the default command interpreter? Korn Bourne Dash C Bash
Bash
Which shell is the default used on Linux systems? -C -Bourne -Berkeley -Korn -Bash
Bash
_____ Drive Encryption is a method for securing the data on a hard drive or portable media, When it is enabled, all of the data on the hard drive or portable media is encrypted.
Bit Locker
By default, Control Panel uses the ____ view, which offers an intuitive way for less experienced computer users to find the Control Panel applet necessary to perform a specific task.
Category
_________ indicates how many bits of information are used to store color information about each pixel in the display.
Color depth
At the command line, you type Who but it returns with an error message. What is the problem?
Commands are case sensitive, so you should type who.
The cat command gets its name from the word _____________, which means to link.
Concatenate
Windows 7 includes _______ as a central location for management utilities.
Control Panel
When sitting at the computer running Linux, what key combination is pressed to open the graphical terminal?
Ctrl+Alt+F1
From the Linux command line, press ________ to move the cursor to the beginning of the command line.
Ctrl+a
From the command line, press ____ to move the cursor to the beginning of the command line.
Ctrl+a
While you are typing a command, you misspell the name of a file you want to specify with the command. Which of the following command line key combinations enables you to go back and fix your error?
Ctrl+b
Assume that you have just created a new file using the cat command and the redirection symbol. Press ______ to save your changes and exit.
Ctrl+d
You are using the cat command to create a file. When you are finished typing the text into the file, you press the letter s to stop; however, the file remains open. What should you type instead? - type end twice -Alt+s -Ctrl+d -quite -None of the choices
Ctrl+d
From the Linux command line, press _________ to delete the command line from the current cursor position.
Ctrl+k
From the Linux command line, press __________ to delete the command line from the current cursor position.
Ctrl+k
________ is used to configure data sources for applications that require access to a database.
Data Sources applet (ODBC) ((None of these choices))
The ________ Control Panel applet is a method for displaying small applications called gadgets at the side of the screen.
Desktop Gadget
_______ is a method for displaying small applications called gadgets at the side of the screen.
Desktop Gadgets
With a signed device driver, which of the following can Windows 7 do?
Determine if the publisher is valid Determine if a driver has been modified
Which task can you perform in Device Manager?
Determine which devices do not have a driver loaded Disable devices View hardware resource configuration Roll back device driver
A __________ is software used to manage communication between hardware components and Windows 7.
Device Driver
Windows 7 requires ________ to manage and communicate with hardware components.
Device Drivers
The _________ applet has a wide range of settings that makes Windows 7 easier to use for those with motor, visual, or hearing impairment.
Ease of Access Center
Use the who command to determine the idle time for users currently logged in, but output that information to a file called users_info. Next view the file you created.
Employ the command who -u > users_info and then type, for example, cat users_info.
You are planning to use Linux on a server and your boss has expressed concern about recovering file information when there is a sudden system crash. Which of the following options offers the best way to address this concern? -Increase the amount of virtual memory -None of these choices. -Use flash disks instead of hard disks. -Implement the uMS/DOS file system for Linux -Employ the ext3 file system
Employ the ext3 file system
an improved version of IDE that offers faster data transfer speeds and i commonly used in modern computers.
Enhanced IDE
Which of the following are found in Administrative Tools? a. event viewer b. windows memory diagnostic c. computer management d. task scheduler
Event Viewer Windows Memory Diagnostic Computer Management Task Scheduler
Which of the following is an internet protocol used for sending files with UNIX/Linux?
FTP
A disadvantage of ufs is that it does not support journaling.
False
Control Panel is no longer available in Windows 10, so you should use Settings for all configuration tasks. True False
False
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?
False
If you plan to have multiple users accessing your system, you should consider having a /var partition in which to store some or all of the nonkernel operating system programs that are accessed by users
False
In Device Manager, a device with a red "x" is missing the correct driver.
False
In order to log out of the Bourne Shell in the UNIX operating system, you would type logout. True False
False
In the Bash shell prompt, \ marks the end of a sequence of non-printed characters. True False
False
Linux commands entered via the command line are not case sensitive. True or False?
False
Many of the applets in the Network and Internet category are available in Windows XP.
False
Network functionality in UNIX/Linux must be installed separately from the original operating system.
False
ON some UNIX/Linux systems, the administrator must execute the makedatabase command, which creates a database, before the whatis command operates properly. (True or False)
False
On some UNIX/Linux systems, the administrator must execute the makedatabase command, which creates a database, before the whatis commmand operates properly.
False
The /user partition is used to store operating system files that compose the kernel. True False
False
The Ease of Access category of settings is for people that have a touch screen instead of a mouse. True False
False
The asterisk symbol of a wildcard can ONLY take the place of a single character. True False
False
The key sequence Ctrl + a deletes the word at the current location of the cursor when you are creating a command on the command line.
False
The key sequence Ctrl+a deletes the word at the current location of the cursor when you are creating a command on the command line.
False
The primary purpose of a screen saver is to prevent screen burn in.
False
The user is at the bottom layer of a UNIX/Linux operating system pyramid.
False
To find a list of hardware components certified to run on Windows 7, you should consult the Hardware Compatibility List.
False
True or False. In the Bash shell prompt, \ marks the end of a sequence of non-printed characters.
False
True or False. The /user partition is used to store operating system files that compose the kernel.
False
True or False. The asterisk symbol of a wildcard can ONLY take the place of a single character.
False
True or False. Using the command mkdir -x creates a directory and at the same times assigns execute permissions to that directory for all users.
False
Welcome Center is a place where you can review and resolve system messages.
False
When you are using a terminal window and it is cluttered with commands and information, use the blank command to clear the screen. True or False?
False
You would use a(n) exclamation point in order to exit out of the online manual in UNIX.
False
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. keyboard layout
Firewall settings or d?
View the files month and users_info in sequence by using:The less command.The more command.
First use the command line, less month ; less users_info and then type more month ; more users_info.
Create a file called who_info that contains the documentation for the who command. Next, use the less command to view the who_info file contents and scroll forward and backward through the information. Then use the tail command to view the final 12 lines of the who_info file. Finally, use the head command to view the first 12 lines of the who_info file.
First, use the command man who > who_info. Next, use the command less who_info and use the scroll keys, such as the Pg Dn and Pg Up keys. Then use the command tail -n12 who_info. Finally, use the command head -n12 who_info.
Windows 7 includes a combination of the S3 and S4 states called _______.
Hybrid sleep
Which legacy devices are no longer supported in Windows 7?
ISA Devices
Use the command-line history function to determine the most recent two commands you entered.
If students have typed only the sequence of commands for these exercises, then by using the up arrow the last two commands should be who -b and who -uH ; w.
The iSCSI ________ tool lets you configure Windows 7 to communicate with iSCSI targets and use the iSCSI targets as external disks over the network.
Initiator
What happens when you use the command cat >> accounts? -None of these choices. -It displays the contents of the accounts file to the monitor. -It appends what you type next the end of the accounts file. -It deletes the accounts file. -It overwrites what is currently in the accounts file.
It appends what you type next the end of the accounts file.
You have decided to change your password. To do this, you must first __________.
Know your current password
Which of the following shells includes a history feature that lets you use a keyboard shortcut to retrieve commands you previously entered? -All of these choices -Korn -Korn and Bash -Bash -Bourne
Korn and Bash
_________ have been popular in large corporations and industrial computing. -Mainframe systems -Super computers -Open equipment systems -Embedded computers -All of these choices
Mainframe systems
________ is a central location for viewing network status and detailed network information.
Network and Sharing Center
Does the /var partition act like an extension of memory? Yes No
No
Does the pwd command allow you to update your password? Yes No
No
Is a server often referred to as a client? Yes No
No
Is the user mode a mode in the UNIX file system that is reserved for the administrator?
No
Yes or No. Do device names beginning with sd give you access to parallel ports?
No
Yes or No. Does the pwd command allow you to update your password?
No
The __________ administrative tool is used to configure data sources for applications that require access to a database.
ODBC
Use an environment variable to change your Bash shell prompt to display the full path of the current working directory followed by the > symbol.
PS1 = '$PWD>'
Using formatting characters to configure your Linux Bash shell prompt to display the date and time followed by the > symbol.
PS1='\d\t>'
Use formatting characters to configure your linux bash shell prompt to display the date and time followed by the > symbol
PS1='\w>'
In your accounting firm, there are 17 computer users whose computers share information and access shared information on other computers, all without management by a central computer. This is an example of a(n) ___________.
Peer-to-peer network
How can you protect a metacharacter (such as the $ character) from shell interpretation?
Precede it with a '\.'
You're in a hurry and have just executed a command to print the contents of a file; and you decide you want another copy of the printout. What key sequence can you use to repeat the last command, which was used to print the file?
Press the up arrow key one time
The ________ Control Panel applet gives you a list of installed applications.
Programs and Features
Which Control Panel applet allows to install and remove optional components of Windows 7?
Programs and Features
Which display setting can cause users to get headaches if it is not configured correctly?
Refresh rate
Hybrid sleep is a combination of which ACPI power states?
S4 S3
The two most popular hard disk interfaces are IDE and ____.
SCSI
Your organization has telecommuters who remotely log into a UNIX server using Mac OS X computers at home. What should they use to log in with the greatest security? -FTP -SSH -AOL -Telnet -None of these choices
SSH
The ____ is the number of pixels that are displayed on your monitor or LCD panel. A pixel is a single dot on the screen.
Screen resolution
Which of the following are typical roles for a UNIX/Linux system?
Server Standalone computer Network operating system Client
A(n) _________ is a type of Windows application that runs in the background without user interaction.
Service
After you log in to a terminal, you receive a user interface called a ___.
Shell
Device Driver __________ ensures that a driver for a specific hardware component has been verified by microsoft to be from a known software publisher.
Signing
A(n) ________ is a component that adds control mechanisms to MMC console for specific service or objects.
Snap ins
Away Mode puts the computer in which ACPI power state?
So
Which of the following is not an example of virtualization software that can be used to install Linux within another operating system?
Spiceworks
Which tasks can you accomplish using the Services administrative tool?
Stop a service Configure a service to start automatically Configure the credentials for a service
Use the cal command to determine on what day of the week you were born.
Students should type cal plus the month they were born and the year, such as cal 9 1985.
Use the man program to determine what other commands you should also see in relation to the clear command
Students should type man clear. The other commands of interest are: tput and terminfo.
Use the whatis command to determine the purpose of the ls command.
Students should type whatis ls and see that this command is used to list directory contents.
Which requirements must be met to use the Aero Glass display theme?
Support for WDDM Support for DirectX 9.0c Do not use Windows 7 Starter Edition
The ___________ partition is used as an extension of RAM.
Swap
A(n) ___ acts like an extension of memory so that UNIX/Linux has more room to run large programs.
Swap partition
______ refers to a command's format and wording as well as the options and arguments you can use to extend and modify functions. Synchronization Logic Syntax Parameters Portability
Syntax
_________ refers to a command's format and wording as well as the options and arguments you can use to extend and modify functions.
Syntax
Which Control Panel applet shows basic information about your computer and provides links that allow you to configure system properties?
System
The _______ category in Control Panel includes a wide range of applets for managing Windows 7. Some of the applets are used to configure Windows 7, while others are used for troubleshooting.
System and Security
Which of the following is the UNIX distribution originally developed through AT&T Bell Labs?
SystemV
____ lets you create system maintenance tasks that are performed on a regular schedule or when system events occur.
Task Scheduler
Users in your company often use files in a directory called /usr/office/work/spreadsheet/programs. Some of the users have complained that this path is cumbersome to type regularly. What is your solution for them? Create a new partition for the contents of this directory. Teach them to use a symbolic link. None of these choices. Index this directory for general use. Use the new Linux shortpath procedure.
Teach them to use a symbolic link.
Which of the following is an Internet terminal emulation program? -FTP -Telnet -Dominion -X Windows -GNOME
Telnet
What is the purpose of Telnet?
Telnet can be used to connect a UNIX , Linux, or Windows PC to a remote computer.
_______ is a utility that shows basic information about your computer and provides links that allow you to configure system properties.
The System applet
How would you describe the purpose of the more command?
The more command enables you to view a file's contents by scrolling down.
Run the who -H, cal 2009,, and clear commands using one command-line sequence. What do you end up with on the screen?
The screen ends up cleared.
In Fedora, you are in your home directory and use the rmdir /temp to delete the /temp directory. However, the operating system won't let you delete that directory. Why?
There are files in the /temp directory.
The ______ Control Panel applet lets you configure all of the settings for speech recognition including Cortana.
Time & Language
Explain how you can run more than one command on a single command line.
To run more than one command on a single line, use the ; (semicolon) character to separate each command.
A directory is a special kind of file that can contain other files and directories.
True
A mainframe operating system controls a large computer system that offers extensive processing, mass storage, and client access for industrial-strength computing.
True
As a general rule, the swap partition should be the same size as the amount of RAM in your computer.
True
In UNIX/Linux, a keyboard, printer, or monitor is referred to as a(n) file.
True
In UNIX/Linux, a shell operates between the user and the kernel, enabling the user to execute commands. True or False?
True
In UNIX/Linux, you would use the cp command to copy files from one directory to another. True False
True
Some shells use the tilde (~) to denote the home directory. True False
True
The /var directory holds sub-directories which have sizes that often change. True False
True
The > character is a redirection symbol in a UNIX/Linux command. True or False?
True
The ACPI standard defines a number of global power management states. True False
True
The Korn shell in UNIX/Linux includes many extensions, such as a history feature, that lets you use a keyboard shortcut to retrieve commands that you have previously entered.
True
The Tablet PC Settings applet lets you configure settings that are specific to a tablet PC.
True
The applets in Control Panel can be viewed in a single list by selecting Large icons or Small icons view.
True
The command cd source uses relative path addressing
True
The rm -r command can be used to delete a directory that is not empty.
True
The whatis command displays a brief description of a command.
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
True or False. In UNIX/Linux you would use the cp command to copy files from one directory to another.
True
True or False. In UNIX/Linux, a keyboard, printer, or monitor is referred to as a(n) file.
True
True or False. The /var directory holds sub directories which have sizes that often change.
True
UNIX/Linux systems interpret a single dot character to mean the current working directory.
True
Use the -d option with the man command to print information for debugging. (True or False)
True
User enters commands directly to the kernel of the Linux operating system. True or False?
True
While speech recognition can operate without any configuration, you can train it to more accurately recognize your voice.
True
Windows 10 supports attaching more than two monitors to a computer and extending the desktop across all of them. True False
True
You can type more than one command on the command line by separating each command with a(n) semicolon. (True or False)
True
You can use the Get-Member cmdlet to view the properties available for an object. T or F
True
Run the who -uH and w commands using one command-line sequence to compare the results.
Type who -uH ; w. The w command shows additional information, such as JCPU, PCFU, and WHAT columns to view what users are doing.
You enter Cal on the command line to view a calendar but only see an error message. Explain why you got the error message.
UNIX and Linux are case sensitive, so to display a calendar you must use the cal command and not Cal.
tree structure file system supported in most versions of UNIX/Linux.
UNIX file system (ufs)
You can access the command history with which of the following keys? -F10 key -Up and down arrow keys -Esc key question mark key -F1 key
Up and down arrow keys
You share a Linux computer with a coworker. What is the best way to exit your UNIX or Linux session when you are done?
Use a GUI menu option to log out or enter an appropriate command for the shell you are using, such as exit or logout (if there is no GUI desktop in use).
View the contents of the month file you created in Exercise 8.
Use any of the view commands, such as cat, more, or less.
Create a file called favorite_foods, and list your favorite foods, entering five or six or more. Press Enter after each favorite food so it appears on its own line (make certain you also press Enter after the final food item). After the file is created, add two more foods you like that are not on the list (press Enter after the final food item). View the list of foods to make certain the two items you added appear at the end of the list.
Use cat > favorite_foods, type the favorite foods, and press Ctrl+d to finish and save the information. Next, type cat >> favorite_foods enter the two new foods and press Ctrl+d.
View the documentation for who and then view the documentation for w. How are these commands similar?.
Use man who and then man w to view the documentation. As the documentation notes, who displays who is logged on and w displays not only who is logged on but what they are doing.
Clear the screen, and view the online manual to determine how to display today's date in UTC.
Use the clear command and then use the man date command for this exercise. .
Create a file called month containing the current month
Use the command cal > month.
Determine when the computer you are working on was last booted.
Use the command who -b.
Use the cal command to determine which year between 2005 and 2010 is a leap year.
Use the command, cal -j 2008, because 2008 is a leap year; also use cal -j 2012, because 2012 is also a leap year. Note that a leap year has 366 days in the Julian calendar.
Display the current UTC.
Use the command, date -u.
The documentation for your new printer shows it uses a character special file loaded from an installation disk provided by the manufacturer. How can you make certain that the file has been loaded and that it is a character special file?
Use the ls -l command to list the contents of /dev and look for a "c" starting the first column
The documentation for your new printer shows it uses a character special file loaded from an installation disk provided by the manufacturer. How can you make certain that the file has been loaded and that it is a character special file? None of these choices use the cd -c /bin comand to display only character special files in the /bin directory. Use the ls -l command to list the contents of /dev and look for a "b" starting the first column. Use the more command to list the contents of the /etc directory and look for a plus sign (+) in the first column/ Use the ls -l command to list the contents of dev and look for a "c" starting the first column.
Use the ls -l command to list the contents of dev and look for a "c" starting the first column.
Yes or No. Is a console a monitor connected directly to your system?
Yes
You want to execute two commands on one line by using a colon to separate the commands. What is the problem with this? -You should use a semicolon instead. -None of these choices. -To reduces processing overhead and the risk of system crashes, UNIX/Linux are not designed to enable executing two commands on the same line. -You should use a comma instead. -You must use two colons, one just after the first command and one just before the second command.
You should use a semicolon instead.
In the Bash shell prompt, which of the following formatting characters displays the number of current commands in the command history?
\!
The ___ is a formatting character for configuring a Bash shell prompt that displays number of the command in the correct session.
\#
The _____ is a formatting character for configuring a Bash shell prompt that displays number of the command in the current session
\#
The computer resources committee in your organization recommends that all users display a prompt that shows the user's account name. which of the following ps1 parameters enables users to configure this type of prompt display?
\u
You work at a law firm with eight other people. All of the eight computers on the firm's network use wireless connections to communicate with one another without a server. This is an example of which of the following?
a peer-to-peer network
In UNIX/Linux, a kernel is _____________________. -None of these choices -a command interpreter for programmers -a set of core operating system programs -a license to use the operating system -an account that has access to the entire system
a set of core operating system programs
Which of the following commands enable you to view the contents of a file? (Choose all that apply.) A) less B) cat C) grok D) whatis
a) less b) cat
You are working with a new colleague who has entered the man command, but who does not know how to end the man session to return to the regular command prompt. What keystrokes do you show your colleague to end the man session? (Choose all that apply.) A) q B) Alt+s C) Shift+Spacebar D) Ctrl+Alt+Del
a) q
When you enter the who command, what information do you see? (Choose all that apply.) A) the users on the local system B) the owner of the local system C) a listing of all authorized users on a system, regardless of weather or not they are logged in D) a listing of all computers on your local system
a) the users on the local system
Which of the following are examples of Linux distributions? (Choose all that apply.) A) SUSE Linux Enterprise B) Mandriva C) Fedora D) Red Hat Enterprise
a, b, c, d
On which of the following types of computers might you find a UNIX or Linux operating system? (Choose all that apply.) a. mainframe computer b. a desktop PC c. a server d. a workstation for scientific research
a. mainframe computer b. a desktop PC c. a server
A(n) ____ path begins at the root level and lists all subdirectories to the destination file.
absolute
In the command cd /usr/bin, "/usr/bin" is a(n) ___ path that begins at the root file system directory.
absolute
/home/rbrown/programs/data is an example of a(n)
absolute path
pathname that begins at the root file system directory and lists all subdirectories to the destination file.
absolute path
Which of the following are shells employed on UNIX/Linux systems? (Choose all that apply.) -ash -tcsh -ksh -csh
ash tcsh ksh csh
When performing a long list of a directory in Linux, a "__" in the first column on the far left indicates a block device file.
b
When performing a long listing of a directory in LInux, a "____" in the first column on the far left indicates a character device file.
b
When viewing the contents of a file with the less command, press _______ to return to a previous screen.
b
programs residing in the /bin directory and elsewhere that are needed to start the system and perform other tasks.
binaries
What kind of file is used to manage access to a CD-ROM? -Storage device file -character special file -None of these choices -named device file -block special file
block special file
a file used to manage random access devices that involve handling blocks of data.
block special file
A(n) ___ loader is a utility that starts the operating system.
bootstrap
A(n) _____ loader is a utility that starts the operating system.
bootstrap loader
a utility residing in /boot directory that starts the operating system.
bootstrap loader
When performing a long list of a directory in Linux, a "__" in the first column on the far left indicates a character device file.
c
When performing a long listing of a directory in Linux, a "_________" in the first column on the far left indicates a character device file.
c
Which of the following represents the proper syntax of the date command in UNIX/Linux? a. _date b. DATE c. date d. $DATE e. date_
c. date
Before you make the note in Question 1, you decide to determine Friday's date, so that you can include it in your note. What Linux command can you use to quickly determine the Friday's date?
cal
Identify the Linux command used to display the system calendar in Linux.
cal
You are on the telephone scheduling an appointment and don't have a paper calendar handy. What command can you type on your Linux workstation to view the current month, which is July? -month -c -cal -date -c -date -july -None of these choices
cal
Provide the Linux command used to display the calendar for 2013 in Julian date format.
cal -j 2013
Identify the Linux command used to display the calendar for July of 1776.
cal 7 1776
A redirection operator may be used to redirect the output of a command into a file. Create a file called month containing the current month.
cal > month
Use the cat command to view the contents of /etc/shells with a number at the beginning of each line of output.
cat -n /etc/shells
You have created a small program file, called process, and want to view that files contents with the number of each line displayed. Which of the following will work to accomplish this? Note that the file is in your current directory. -none of these choices -process -more -more -n process -all--numbered process -cat -n process
cat -n process
Use the cat command in conjunction with the redirection symbol to create a new file named notes.
cat > notes
You need to type in a line of text to the end of a file called Annual_Report. Which command enables you to add the text?
cat >> Annual_Report
View the contents of the file alldata in the current working directory.
cat alldata
Using the cat command and a redirection symbol, add the contents of data1 and data2 to the new file alldata in the current working directory.
cat data1 data2 > alldata
Your boss drops by your office in a hurry to ask you to attend a meeting at 10:30 on Friday morning and you can't find a pen to make a note as a reminder. What Linux command can you use to make a quick note to store in a file called Meeting?
cat>Meeting
One of the new users in your organization often switches to directories all over the system in the process of doing her work. What simple command can you show her to quickly go back to her home directory?
cd
To navigate the UNIX/Linux directory structure, you use the ____ command.
cd
What simple command can you use to go back to the home directory?
cd
Without using an absolute path, change to your home directory
cd
From the Linux command prompt, issue the command to go to the parent directory one level above.
cd ..
Provide the Linux command to change directory to the root file system directory (not the root user's home directory)
cd /
Provide the Linux command to change directory to the root file system directory (not the root user's home directory).
cd /
file used to handle byte-by-byte streams of data.
character special file
Subdirectories of the UNIX/Linux file system are often referred to as __________ directories.
child
a subdirectory created and stored within a (parent) directory.
child
You can change the pattern of permission settings by using the ____ command.
chmod
You can use the Linux ___ command to set permissions for files that you own.
chmod
Without using numbers, enable the owner, group, and others to make the /data directory the current working directory.
chmod ugo+x /data chmod a+x /data
Identify the Linux command for clearing the screen and moving the command prompt to the upper, left-hand corner of the screen.
clear
You have been entering lots of commands and now your terminal window is cluttered will all kinds of activity. What command can you use to clear your window of the clutter?
clear
Each _____in PowerShell is in a verb-noun format.
cmdlets
Without changing your working directory, copy all files with an extension of .db from the /data directory to the /backup directory, and only overwrite if the file you are copying is newer than the one you are overwriting
cp *.db /backup
Another new user has inadvertently copied an older file with the same name over the new version of the file that he just updated, losing about two hours of work. What copy command can he use in the future to ensure that he does not copy an older file over a newer one?
cp -u
a new user has inadvertently copied an older file with the same name over the new version of the file that he just updated, losing about two hours of work. what copy command can he use in the future to ensure that he does not copy an older file over a newer one?
cp -u
Without changing your working directory, copy all files with an extension of .db from the /data directory to the /backup directory, and only overwrite if the file you are copying is newer than the one you are overwriting.
cp -u /data *.db /backup
Callout devices uses in conjunction with a modem are referred to as ___. cua sd auc tty lp
cua
When performing a long listing of a directory in Linux, a "___________" in the first column on the far left indicates a subdirectory.
d
when performing a long listing of directory in linux, a ____ in the first column on the far left indicates a subdirectory
d
Identify the Linux command used to display the current date and time.
date
You forgot your watch this morning and need to check the time, because you are scheduled for a 10:00 A.M. meeting. What command can you use to check the current time? -time -c -what time is it -none of these choices -date -whattimeisit
date
Provide the Linux command used to display your system date in Coordinated Universal Time (UTC).
date -u
Your international company is scheduling a meeting among managers in Canada, the United States, Spain, Sweden, and Hong Kong on the basis of Greenwich Mean Time (GMT). What command enables you to display the current time in GMT?
date -u
On one command line, provide the Linux command used to view the current date and this months calendar.
date ; cal
on one command line , provide the linux command used to view the current date and this months calendar.
date ; cal
Append the current date and time to the file notes.
date >> notes
The ___ environment variable displays the full path of the current working directory.
delete
When using the mount command, you use the ____ option to specify a file system to mount.
delete
file used for managing I/O devices.
device special file
special type of file that can contain other files and directories.
directory
UNIX/Linux interprets a single ____ character to menu the current working directory. backslash question mark dot underscore dash
dot
Using an environment variable display the full path of the current working directory.
echo $PWD
Provide the echo command used to determine the shell that you are using in Linux.
echo $SHELL
same as binaries.
executables
In Linux, to run a program file, the intended users must have ___ permissions
execute
In Linux, the native file system is the ____, which is installed by default.
ext fs
this file system enables full range of built-in Linux commands,file manipulation, and security.
extended file system
A(n) ____ is used to reduce file fragmentation, because a block of contiguous disk storage can be reserved for a file.
extent
a portion of a disk, such as block that is reserved for a file and that has extra space so that when the file grows it remains in the same location on disk.
extent
basic component for data storage.
file
Which of the following information is associated with an inode for a file? (Choose all that apply.) size of the file creation date of the file file name permissions associated with the file
file name permission associated with the file size of the file creation date of the file
an operating way of organizing files on mass storage such as a floppy disk.
file system
Your are logged into a Linux system and see a # prompt. By default, this prompt is used ____________. when you want to run a program None of these choices for ordinary user accounts for superusers when you are printing a document
for superusers
when specifying path commands, which of the following symbols separates each directory
forward slash (/)
When managing file and directory permissions in Linux, the letter ___ indicates the groups permission.
g
When managing file and directory permissions in Linux, the letter ____ indicates the groups permissions; that is, all users (other than the owner) who are members of the owners group.
g
number used to identify a group of users.
group id (GID)
Device names beginning with ___ access IDE hard drives
hd
Display the first 10 lines of the /etc/termcap file.
head -n 10 /etc/termcap
Display the first 5 lines of the /etc/termcap file.
head -n 5 /etc/termcap
a file that the operating system uses to keep configuration info.
hidden file
The UNIX file system (ufs) supports ____, which automatically move data on damaged portions of disks to areas that are not damaged.
hot fixes
ability to automatically move data on damaged portions of disks to areas not damaged.
hot fixes
a system for storing essential information about directories and files.
information node or inode
most popular electronic hard disk interface for personal computers.
integrated drive electronics (IDE)
process of keeping chronological records of data or transactions so that if teh system crashes the data or transactions can be reconstructed or backed to prevent data loss.
journaling
When performing a long list of a directory in Linux, a "___" in the first column on the far left indicates a symbolic link.
l
SSH can be used to ____.
log in remotely to another computer on a network
SSH can be used to ___________________.
log in remotely to another computer on a network
The Linux ___ command displays the names of files and directories contained in a directory.
ls
You use the ____ command to display a directory's contents, including files and other directories.
ls
You would use the ________ command to display a directory's contents, including files and other directories.
ls
You only want to view the fields in your current working directory that have the .c extension. Which of the following commands can you use? (Choose all that apply.) ls -a .c ls -x --.c ls *.c ls -X
ls *.c
Issue the Linux command to list the hidden files in a directory
ls -a
The Linux ____ command shows hidden files.
ls -a
The Linux _________ command shows hidden files.
ls -a
Issue the Linux command to display a long listing of a directory's contents.
ls -l
The linux _____ command, or long listing, displays detailed file information
ls -l
Using wildcards, enter a command that would list the files data1.txt and data2.txt but not database.txt in the current working directory
ls data?.txt
You need to search for all files in your home directory, /home/rbrown, that start with the characters "le". Which of the following commands do you use?
ls ~/le*
Which of the following commands will help you find the UNIX online reference manuals?
man
You have forgotten the purpose of the -n option in the cat command. Which of the following can you enter at the Linux command line to find out what the -n option does when used with cat?
man cat
You need to review the documentation for the cat command. What should you type on the command line to see this documentation? -man cat and press enter -cat ? and press enter -cat /help and press enter -none of these choices -help cat and press enter
man cat and press Enter
Use the man program to find out what the -R option does when used with the date command.
man date
Use the man program to find out what the -R option does when used with the date command.
man man ; date
Identify the Linux command used to display the detailed online help for the who command.
man who
Power ________ defines which devices are drawing power in the system.
management
The ____ command is used to create a new directory.
mkdir
You can use the Linux ____ command to create a new directory as long as you own the parent directory.
mkdir
Create a directory name source under the current working directory.
mkdir source
In Linux, you can use the ______ command to read a large file, screen by screen.
more
You want to view the contents of the names file which is located in the programs directory. You are currently in your user home directory. Which if the following commands will enable you to view the entire contents of the file? -None of these choices -list /names/programs -tail names -cat names -more /programs/names
more /programs/names
process of connecting a file system to the directory tree structure, making that directory accessible.
mount
you use the ____ command to determine what file systems are available in your version of UNIX/Linux
mount
When you load a CD-ROM and your system does not automatically mount it for use, what command can you use to mount it? -mount iso9660 /dev -None of these choices -start -CD-ROM -mount -t iso9660 /dev/cdrom/mnt/cdrom mount \CD
mount -t iso9660 /dev/cdrom/mnt/cdrom
The term ____ refers to a "black hole"; any data sent to this device is gone forever.
null
When managing file and directory permissions in Linux, the letter __ indicates all other permissions; that is, all users who are not the owner and not in the owners group.
o
when managing file and directory permissions in linux, the letter ____ indicates all others permissions; that is, all users who are not the owner and not in the owners group
o
the directory in which a subdirectory is created.
parent
section of a disk that holds a file system and that is created so activity and problems occurring in other partitions don't affect it.
partition
/boot partition
partition used to store operating system files that compose kernel.
To change your password form the command prompt in Linux, type ___________ and press Enter.
passwd
You haven't changed your user account password for several months and now decide to create a new password. Which of the following commands should you use?
passwd
means of specifying a file or directory that includes the names of directories and subdirectories on the branches of the tree structure.
pathname
equipment connected to a computer via electronic interfaces.
peripherals
specific privilege to access and manipulate a directory or file.
permission
In which applet do you adjust the background of your display?
personalization
A(n) ____ is a section of the hard disk that has been formatted to hold files. Asymmetric file system physical file system symmetric file system virtual file system extended file system
physical file system
Small computer system interface 9SCSI
popular and fast electronic hard disk interface commonly used on network servers.
If you have configured your prompt so that it does not show your working directory, you can use the ____ command to verify in what directory you are located, along with the directory path.
pwd
In Linux, you use the ________ command to view your working directory.
pwd
You can use the UNIX/Linux ___ command to display your current path.
pwd
You have been called by a user to help him with a computer problem. When you arrive, you are at first curious about which directory is the user's current working directory. What command can you use to quickly find out? None of these choices cd -? pwd who where
pwd
Identify the command for exiting the man program.
q
When viewing the contents of a file with the more command, press ____________ to terminate the display.
q
When you see rwxr-xr-- associated with a file, what permissions are granted to other? -read, write, and execute -write and execute -read -read and execute -None of these choices
read
A(n) ______ is used to create a new file or to overwrite an existing file by attaching it to a command that produces output. substitution symbol redirection symbol pipe symbol current symbol attachment symbol
redirection symbol
A(n) _________ is used to create a new file or to overwrite an existing file by attaching it to a command that produces output.
redirection symbol
In the command cd source, "source" is a(n) __________ path.
relative
a pathname that begins at the current working directory and lists all subdirectories to the destination file.
relative path
The ____________ command is used to delete an empty directory.
rmdir
main or parent directory for all other directories .
root file system directory
Which of the following refers to the third primary partition on the second SCSI hard disk within Linux?
sdb3
physical file system
section of hard disk that has been formatted to hold files.
In Linux, you can execute multiple commands on one command line by using a _________ between commands.
semicolon
enables owner of a program to keep full ownership but also gives temporary ownership to other members while executing program.
set group ID (SGID) bit
enables owner of a program to retain full ownership but also gives ordinary temporary ownership to other members while executing program
set user ID (SUID) bit
files residing in the /lib directory that programmers use to share code, rather than copying the code into the program.
shared library images
When viewing the contents of a file with the more command, press the _________ to scroll to the next screen.
spacebar
an executable permission that either causes a program to stay resident in memory or ensures hat only that root or the owner can delete the file.
sticky bit
a directory under a higher or parent directory.
subdirectory
a special data block on partition that contains info about the layouts of blocks.
superblock
A system administrator is often referred to as which of the following? superuser base None of these choices core kernel
superuser
Another name for a UNIX system administrator is ___________.
superuser or root
The ____ partition acts like an extension of memory, so that UNIX/Linux have more room to run large programs.
swap
A(n) _____ acts like an extension of memory so that UNIX/Linux has more room to run large programs
swap partition
a section on the hard disk separated from other sections so that it functions as an extension of memory, which means it supports virtual memory.
swap partition
a name or file name that points to and lets you access a file using a different name in the same directory or a file using the same or a different name in a different directory.
symbolic link
In your document files, you often put the date you created the file and the date you last modified it in the last two lines of the file. What command can you use to look at only the last two lines of the file called, project?
tail -n 2 project
What command can you use to see only the final eight lines of the accounts file, which is in your current directory? tail -n 8 accounts more -8 accounts shell accounts end 8 accounts None of these choices
tail -n 8 accounts
Display the last 5 lines of the /etc/termcapj file
tail -n5 /etc/termcap
Display the last 10 lines of the /etc/termcap file.
tail /etc/termcap
This is your first day on the job as a Linux server administrator and your boss gives you the password for root. What is root?
the administrative account that has complete access to a UNIX/Linux system
In Linux, the ____ character denotes the user's home directory.
tilde (~)
When managing file and directory permissions in Linux, the letter ___ indicates the owner's permissions.
u
Which of the following file systems are supported in Linux operating systems? (choose all the apply.)
uMS/DOS NT file system extended file system network file system
After accessing manually mounted file systems such as CD-ROMS or floppy disks, use the Linux ____ command before removing the storage media.
umount
program that preforms useful operations such as copying files, listing directories and communicating with other users.
utility
A swap partition enables _____ memory, giving you what appears to be unlimited memory resources.
virtual
a system that occupies no disk space, such as the /proc directory. It lets you obtain info about which programs and processes are running on a computer.
virtual file system
a memory source supported by the swap partition, in which the system can swap info between disk and RAM, allowing the computer to run faster and more efficiently.
virtual memory
storage that might be allocated via different disks or file systems but is transparently accessible as storage to the operating system and users.
virtual storage
To display a brief summary of a particular command you would use which of the following commands? -apropos -whois -who -whatis -man
whatis
Use the whatis command to determine the purpose of the ls command.
whatis ls
It has been a long day and you just don't remember the purpose of the ping command. What command can you use for a quick reference?
whatis ping
It has been a long day and you just don't remember the purpose of the ping command. What command can you use for a quick reference? None of these choices show ping ping -brief whatis ping sum ping
whatis ping
Identify the command used to display a brief description of the who command.
whatis who
Identify the Linux command for determining who is currently logged in to the system.
who
Which of the following commands helps an individual determine who is logged in to a UNIX system? -man -who -who-y -whois -whatis
who
Use the who command and display a line of column headings with the commands output.
who -H
Determine when the computer on which you are working was last booted. (Hint: It's not the uptime command.)
who -b
Use the who command to see a quick list of current users that shows only login names and the total number of users on the system.
who -q
Use the who command to determine the amount of time that has elapsed with no activity in a user's session.
who -u
Use the who command to see a list of users with idle times and column headings.
who -uH
Run the who -uH and w commands using one command-line sequence to compare the results.
who -uH ; w
Run the who -uH and w commands using one command-line sequence to compare the results.
who -uH; w
Use a redirection symbol to redirect the output of the who command to a file named current_users.
who > current_users
Identify the Linux command to determine which terminal you are using or what time you logged in.
who am i
a special character that can stand for any other character or, in some cases a group of characters and is often used in argument.
wildcard
Which of the following can you use to view the next page when viewing a file using the less command? z n spacebar Pg Dn (Page Down)
z spacebar Pg Dn (Page Down)
In Linux, the ___ character denotes the user's home directory.
~
In Linux, the _____ character denotes the user's home directory.
~
The ____ is shorthand for the home directory, which typically has the same name as the user's account name.
~
Is the UNIX operating system case sensitive?
Yes
Is the UNIX operating system case sensitive? Yes No
Yes
Is a console a monitor connected directly to your system? Yes No
Yes
Is the > sign an example of a redirection symbol?
Yes
Use the history function to retrieve the command line you used in Exercise 19. Use the edit function to remove the word "clear" and replace it with "date." Next, go to the beginning of "cal" and delete the text on the line from "cal" to the end. Now, change the -H to -u. Finally, add "; date -u" so that your final command-line entry is: who -u ; date -u. Execute the command-line entries.
First, use the up arrow to retrieve the who -H ; cal 2008 ; clear command. Press Ctrl+b or the left arrow key to go to the beginning of clear and press Ctrl+k. Type the word date. Next, press Ctrl+b multiple times or use the left arrow key to go to the beginning of cal. Press Ctrl+k. Use the left arrow key or press Ctrl+b to move to the H. Press Del and type u. Use the right arrow key to go just beyond the semicolon and type date -u. Press Enter.
The ________ Control Panel applet lets you configure the display and behavior of Windows Explorer.
Folder Options
Which Control Panel applet lets you control the size of fonts?
Fonts Display
View the files, month and users_info, in sequence using only one command-line sequence of commands
For this exercise students might use the cat command, such as cat month ; cat users_info.
A tree-like structure for UNIX/Linux file systems starts at the root level. Root is the name of the file at the base of this level and is denoted by which of the following symbols?
Forward slash (/)
Your assistant is trying to manually mount a new SCSI disk drive using hda2 to reference the drive in the devices file. What is the problem with this reference?
He should be using sda2 instead.
_______ is a new feature in Windows 7 that is used to configure file and printer sharing for small peer-to-peer computer networks.
HomeGroup
Which MMC access mode allows users to create new windows, but prevents them from viewing some of the console tree?
User mode - limited access, multiple window
____ are programs that perform operations such as copying files, listing directories, and communicating with other users.
Utilities
____ protects your computer by controlling communication between your computer and the network.
Windows Firewall
The ________ is used to perform tests on the physical memory of a computer running Windows 7.
Windows Memory Diagnostics Tool
_______ provides quick access to settings commonly used on mobile computers, such as power options, wireless networking, external display settings, and synchronization settings.
Windows Mobility Center
_______ is a service in Windows 7 that automatically downloads and installs service packs and security updates.
Windows Update
Does the \w formatting character display the path of a working directory? Yes No
Yes
Is Bash the default shell in Linux?
Yes