Shared Flashcard Set

Details

Linux Essentials 2.1
Intro to command line
16
Computer Science
Professional
03/23/2020

Additional Computer Science Flashcards

 


 

Cards

Term
2.1 - Name 4 examples of shells used in Linux
Definition
Bourne-again shell (BASH), C shell (csh/tcsh), Korn shell (ksh), Z shell (zsh)
Term
2.1 - What does the standard user prompt look like in Debian and Ubuntu?
Definition
username@hostname: ~$
Term
2.1 - What does a root user command prompt look like in Ubuntu and Debian?
Definition
root@hostname: ~#
Term
2.1 - What does a standard user prompt look like in Red Hat, CentOS and Fedora?
Definition
[username@hostname~]$
Term
2.1 - What does a root user command prompt look like in Red Hat, CentOS and Fedora?
Definition
[root@hostname ~]#
Term
2.1 - Name the two ways to type "switches" in the command line
Definition
short form (-h) or long form (--help)
Term
2.1 - What does a "switch" do to a command?
Definition
Modifies the behavior.
Term
2.1 - What does an "argument" do to a command?
Definition
Add additional data (i.e. filename, username, path)
Term
2.1 - What are internal commands?
Definition
They are part of the shell environment (executed inside the shell)
Term
2.1 - What are external commands?
Definition
External commands reside in individual files, usually a binary or script file.
Term
2.1 - What does the shell use if a command is not built in?
Definition
These are external commands and the shell will use the $PATH variable to search for the executable.
Term
2.1 - What are the three types of "quoting"
Definition
double quotes (" "), single quotes (' '), escaping ( \ )
Term
2.1 - How do you display a list of the current environment variables?
Definition
env or printenv
Term
2.1 - What are local variables?
Definition
These variables are only available to the current shell process
Term
2.1 - What are global variables?
Definition
Are available for use outside a function
Term
2.1 - What command can you use to remove a variables?
Definition
unset
Supporting users have an ad free experience!