Linux Commands Flashcards
cd
change directory
ls
lists contents of a directory
ls -la
lists all files and folders in a directory
.
present working directory
..
directory above present working directory
ls -l
lists files and folders excluding hidden
-rw-r…
file
drw-r…
directory
mkdir
creates folder or directory
../..
up twice
dark blue
folders and directories
light blue
links
white
file
green
sticky directory
mv
move (mv source destination)
–help
lists how to use any command
rmdir
removes file/directory
cp
copy (cp source destination)
rm
remove
-f
force
rm -rf
remove +recursive + force (removes directory and any files within it)
b*
all directories/files starting with b
be?
all directories/files starting with be and having a letter in the ? place
df
displays info about disks