Shared Flashcard Set

Details

Unit2-bp
Linux+ Certification
38
Computer Science
Professional
02/20/2012

Additional Computer Science Flashcards

 


 

Cards

Term
In Linux, user interfaces are components running atop the ______.
Definition
kernal
Term
The GUI interface interacts with _ _______ layer, which is a software component that interacts with the kernal.
Definition
X Windows
Term
You can run more than one virtual console at a time and switch between them using ____ + ____ key combinations.
Definition
Ctrl + Alt
Term
List three common desktop environments.
Definition
GNOME, KDE, Xfce
Term
True or False. You can do everything in the Linux CLI that you can do in the GUI.
Definition
True
Term
A _____ is a command line interface to an operating system.
Definition
shell
Term
Most Linux distros use the _____ shell.
Definition
BASH
Term
The BASH and Korn shell (ksh) use _ for a prompt, and the C shell (csh) and TC shell (tcsh) use _ for a prompt.
Definition
BASH and ksh use $ prompt.
csh and tsch use % prompt.
Term
BASH commands follow what general format?
Definition
command -options arguements
Term
______ are preceded by a hyphen and are most often a single letter modifier to a command.
Definition
Options
Term
______ are input parameters that specify what resource should be used by a command.
Definition
Arguments
Term
Describe cat command.
Definition
Prints the contents of a file to the screen.
Term
Describe clear command.
Definition
Clears your terminal window but doesn't erase past output.
Term
Describe date command.
Definition
Prints the current date and time.
Term
Desribe echo command.
Definition
Prints whatever text you supply as an argument to the screen.
Term
Describe exit command.
Definition
Closes the current shell.
Term
Describe finger command.
Definition
Prints information about users of the system.
Term
Describe ls command.
Definition
Lists files and directories.
Term
Describe who command.
Definition
Prints a list of users currently logged on.
Term
Describe whoami command.
Definition
Prints your login name.
Term
Press Ctrl + _ to reverse the last two typed letters automatically.
Definition
Ctrl + t
Term
Describe history command.
Definition
Prints command history to screen.
Term
Using !! will _____ the last command.
Definition
rerun
Term
Entering !fi will...
Definition
rerun the last command that begins with the letters "fi".
Term
BASH keyboard shortcuts:
Ctrl+b
Ctrl+f
Ctrl+w
Ctrl+u
Ctrl+a
Ctrl+e
Definition
Ctrl+b will move cursor one character to left without erasing
Ctrl+f will move cursor one character to right without erasing
Ctrl+w will erase the word to the left of the cursor
Ctrl+u will erase everything to the left of the cursor
Ctrl+a will move cursor to beginning of line
Ctrl+e will move cursor to end of line
Term
BASH keyboard shortcut:
Alt+. will...
Definition
reuse the last argument from the previous command.
Term
_____ _____ are references to system information, such as the current shell.
Definition
Shell variables
Term
Most shell variables begin with the _.
Definition
$
Term
List three common shell variables.
Definition
$GROUPS, $HISTSIZE, $HOSTNAME, $PWD, $RANDOM, $SHELL
Term
Describe the following shell metacharacters:
; ()or{} & &∨||
Definition
; command separator
() or {} group two or more commands and treat their output as a unit
& Background execution
&& or || AND an OR operators for working with multiple commands
Term
______ is the process of sending the output of one command to another command.
Definition
Piping
Term
_____ is similar to piping, except you send the output to another file or device.
Definition
Redirecting/Redirection
Term
Standard output (STDOUT) is to the _____ / port _. Standard error (STDERR) is the screen / port _.
Definition
STDOUT is to the screen/port1
STDERR is to the screen/port2
Term
Create a named pipe with the _____ command.
Definition
mkfifo
Term
Use the _ character to redirect STDOUT.
Definition
>
Term
Use the _ character to redirect STDIN.
Definition
<
Term
Using the ___ command sends the output to both the STDOUT and to a specified file.
Definition
tee
Term
Define the man pages sections 1-9.
Definition
1 User level programs and shell commands
2 Linux system calls (kernel functions)
3 Library functions
4 Special files (usually found in /dev)
5 File formats and file conventions
6 Games
7 Miscellaneous entries, including macro packages
8 Programs and commands that only the root user may execute
9 Nonstandard kernel routines
Supporting users have an ad free experience!