Linux commands Flashcards
1
Q
present working drive show
A
pwd
2
Q
show a listing of what in the CWD
A
ls
3
Q
show an extended listing of the CWD
A
ls -1
4
Q
change directory
A
cd exampledir
5
Q
make a folder or directory
A
mkdir examplename
6
Q
make a file or show the contents
A
touch examplename ( if file does not already exist it is created)
7
Q
show contents of a file in the terminal
A
cat
8
Q
copy a file
A
cp NAMEOFCOPY
9
Q
move a file
A
mv
10
Q
remove a file
A
rm filename
11
Q
rm -r
A
be wary this removes all directories recursively
12
Q
cwds parent drive
A
..
13
Q
current working drive
A
.
14
Q
~
A
refers to current working drive