Linux Commands Flashcards
1
Q
cd
A
change directory
2
Q
ls
A
lists contents of a directory
3
Q
ls -la
A
lists all files and folders in a directory
4
Q
.
A
present working directory
5
Q
..
A
directory above present working directory
6
Q
ls -l
A
lists files and folders excluding hidden
7
Q
-rw-r…
A
file
8
Q
drw-r…
A
directory
9
Q
mkdir
A
creates folder or directory
10
Q
../..
A
up twice
11
Q
dark blue
A
folders and directories
12
Q
light blue
A
links
13
Q
white
A
file
14
Q
green
A
sticky directory
15
Q
mv
A
move (mv source destination)
16
Q
–help
A
lists how to use any command
17
Q
rmdir
A
removes file/directory
18
Q
cp
A
copy (cp source destination)
19
Q
rm
A
remove
20
Q
-f
A
force
21
Q
rm -rf
A
remove +recursive + force (removes directory and any files within it)