Work on the command line Flashcards
What is the symbolic link to the system’s default shell?
/bin/sh
What shortcut command will change to your home directory?
cd ~
What command show the working directory?
pwd
What command runs an external program you specify and replaces the shell?
exec
What command shows how long a command took to run?
time
What command will terminate a logged in shell?
logout
What command will terminate any shell?
exit
What command show the path environment variable?
echo $PATH
What key sequence will search through the BASH history?
Ctrl + R
What command shows the last 500 commands entered?
history
What are the two global bash configuration files and where are they?
/etc/bash.bashrc and /etc/profile
What command will set an environment variable?
export Env_Var=value
What command will show all the environment variables?
env
What command will delete an environment variable?
unset
What command will list all shell variables, environmental variables, local variables, and shell functions?
set