Linux commands Flashcards

1
Q

present working drive show

A

pwd

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

show a listing of what in the CWD

A

ls

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

show an extended listing of the CWD

A

ls -1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

change directory

A

cd exampledir

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

make a folder or directory

A

mkdir examplename

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

make a file or show the contents

A

touch examplename ( if file does not already exist it is created)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

show contents of a file in the terminal

A

cat

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

copy a file

A

cp NAMEOFCOPY

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

move a file

A

mv

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

remove a file

A

rm filename

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

rm -r

A

be wary this removes all directories recursively

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

cwds parent drive

A

..

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

current working drive

A

.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

~

A

refers to current working drive

How well did you know this?
1
Not at all
2
3
4
5
Perfectly