Command Line Basics Flashcards
What is the command apt-get in BASH?
used to install programs such as docker, pip, etc.
how do you show the current directory in bash?
how do you switch to the root directory?
how do you switch to the home directory?
pwd
cd /
cd home
Any path that starts with the forward slash / is considered what?
the root directory
how do you check which username is logged in within the bash and windows command line?
whoami
In bash how do you switch back to the home directory?
cd ~
what does adding -v after the mkdir do?
it prints an output whenever a folder is created
what does –help command do?
print all possible command options ie. mkdir –help
what does the command ls -l do?
it prints what’s in the directory in table form.
how do you remove a directory?
rmdir