command line Flashcards

1
Q

pwd

A

print working directory

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

cp

A

copy
copy file and copy folder are different
add -R (recursion) for folder

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

mv

A

move

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

ls

A

list

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

cd

A

change working directory

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

grep

A

find keyword in a specified file

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

echo [content] > [filename]

A

create new content to new file

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

mkdir

A

make directory (make new folder)

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

open

A

open file/ folder

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

touch

A

create new file if file doesnt exist

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