AWS EC2 Flashcards

1
Q

$ echo

A

used for displaying lines of text or string which are passed as arguments on the command line

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

$ ls/

A

directory contents

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

$ pwd

A

determines the present working directory

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

$ cd

A

used to change the current working directory

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

$ tar

A

command is an archival command that can archive, compress, and extract files

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

mkdir

A

make directory

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

touch

A

create an empty file

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

mv

A

move or rename file

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

cat

A

print out contents of a file

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

head

A

print out first few lines of a file

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

tail

A

print out last few lines of file

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

more

A

to print out content of file but, only enough to fill the screen

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

less

A

used to navigate forward and backward in a file

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

man

A

to display a line of text

command for manual

ie: man echo

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

cp

A

copy one or more files into a location

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