Linux Basic commands Flashcards
1
Q
pwd
A
print current directory
2
Q
cd
A
change directory
3
Q
ls
A
list directories
4
Q
ls -l
A
long list format for ls
5
Q
cat
A
show the content of files
6
Q
clear
A
clears the terminal
7
Q
man “command”
A
the documentation for a given command
8
Q
exit
A
exits you out of a shell
9
Q
enter
A
moves down by one line
10
Q
g
A
go to top of the pag
11
Q
G
A
go to the bottom of the page
12
Q
Environmental Variables
A
have a name and value. Access with echo $VAR_NAME
13
Q
$PATH
A
an env variable that controls the command search path and contains list of directories. This is where the computer goes to look for commands you enter in the terminal
14
Q
which + command
A
tells you where a command lives in your system
15
Q
–help
A
used after a command, tells you more information (maybe)