Work on the command line %% Flashcards
What is the shell
Command line environment that you work in on a Linux system
What are environment Variables
Settings that dictate functionality and locations for various purposes
What is a Bash function
Users can create their own custom functions within Bash
What does the command env do
displays env variables
What does the command echo do
prints value of a variable to the screen
What does the command set do
Displays shell settings or shell variables for the session
What does the command unset do
removes a variable or custom bash function
What does the command shopt do
Displays shell options and their current settings
What does the command export do
exports a variable to the current shell and any new shells started from the current shell
What doe the command pwd do
Displays the full path to the current working directory
What does the command which do
Used to locate an app file that is located within the users PATH
what does the command type do
Used to determine if something is a function, file, alias, built-in, or keyword
What are weak quotes
or double quotes will expand variables but characters used for path substitution or for pattern matching will not be expanded
What are strong quotes
inside strong or single quotes nothing is interpreted
EX. echo $PATH will print $PATH to the screen
What does the history command do
Shows the most recently ran commands