Busy. Please wait.
Log in with Clever
or

show password
Forgot Password?

Don't have an account?  Sign up 
Sign up using Clever
or

Username is available taken
show password


Make sure to remember your password. If you forget it there is no way for StudyStack to send you a reset link. You would need to create a new account.
Your email address is only used to allow you to reset your password. See our Privacy Policy and Terms of Service.


Already a StudyStack user? Log In

Reset Password
Enter the associated with your account, and we'll email you a link to reset your password.

Linux Study Guide - Working with the BASH Shell

Quiz yourself by thinking what should be in each of the black spaces below before clicking on it to display the answer.
        Help!  

Question
Answer
;   A shell metacharacter used to chain multiple commands together for execution.  
🗑
|   A shell metacharacter used to pipe the stdout from one command to the stdin of another command.  
🗑
<   A shell metacharacter used to obtain stdin from a file.  
🗑
>   A shell metacharacter used to redirect stdout and stderr to a file.  
🗑
alias command   A command used to create special variables that are shortcuts to longer command strings.  
🗑
awk command   A filter command used to search for and display text.  
🗑
counter variable   A variable that is altered by loop constructs to ensure that commands are not executed indefinitely.  
🗑
decision construct   A special construct used in a shell script to alter the flow of the program based on the outcome of a command or contents of a variable. Common decision constructs include if, case, &&, and ||.  
🗑
echo command   A command used to display or echo output to the terminal screen. It might utilize escape sequences.  
🗑
env command   A command used to display a list of exported variables present in the current shell, except special variables.  
🗑
environment files   The files used immediately after login to execute commands; they are typically used to load variables into memory.  
🗑
environment variables   The variables that store information commonly accessed by the system or programs executing on the system—together, these variables form the user environment.  
🗑
escape sequences   The character sequences that have special meaning inside the echo command. They are prefixed by the \ character.  
🗑
export command   A command used to send variables to subshells.  
🗑
file descriptors   The numeric labels used to define command input and command output.  
🗑
filter command   A command that can take from stdin and send to stdout. In other words, a filter is a command that can exist in the middle of a pipe.  
🗑
grep   (Global Regular Expression Print) command A program used to search one or more text files for a desired string of characters.  
🗑
hashpling   The first line in a shell script, which defines the shell that will be used to interpret the commands in the script file.  
🗑
loop construct   A special construct used in a shell script to execute commands repetitively. Common loop constructs include for and while.  
🗑
pipe   A string of commands connected by | shell metacharacters.  
🗑
read command   A command used to read stdin from a user into a variable.  
🗑
redirection   The process of changing the default locations of stdin, stdout, and stderr.  
🗑
sed command   A filter command used to search for and manipulate text.  
🗑
set command   A command used to view all variables in the shell, except special variables.  
🗑
shell scripts   The text files that contain a list of commands or constructs for the shell to execute in order.  
🗑
sort command   A command used to sort lines in a file.  
🗑
standard error (stderr)   A file descriptor that represents any error messages generated by a command.  
🗑
standard input (stdin)   A file descriptor that represents information input to a command during execution.  
🗑
standard output (stdout)   A file descriptor that represents the desired output from a command.  
🗑
subshell   A shell started by the current shell.  
🗑
tee   command A command used to take from stdin and send to both stdout and a specified file.  
🗑
test statement   A statement used to test a certain condition and generate a True/False value.  
🗑
tr command   A command used to transform or change characters received from stdin.  
🗑
user-defined variables   The variables that are created by the user and are not used by the system. These variables are typically exported to subshells.  
🗑
variable   An area of memory used to store information. Variables are created from entries in environment files when the shell is first created after login, and are destroyed when the shell is destroyed upon logout.  
🗑
variable identifier   The name of a variable.  
🗑


   

Review the information in the table. When you are ready to quiz yourself you can hide individual columns or the entire table. Then you can click on the empty cells to reveal the answer. Try to recall what will be displayed before clicking the empty cell.
 
To hide a column, click on the column name.
 
To hide the entire table, click on the "Hide All" button.
 
You may also shuffle the rows of the table by clicking on the "Shuffle" button.
 
Or sort by any of the columns using the down arrow next to any column heading.
If you know all the data on any row, you can temporarily remove it by tapping the trash can to the right of the row.

 
Embed Code - If you would like this activity on your web page, copy the script below and paste it into your web page.

  Normal Size     Small Size show me how
Created by: Sumbunny
Popular Computers sets