Command Line Interface Flashcards

1
Q

cat

A

used to read the contents of a file(text file), or to print out contents without opening a file

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

ls

A

shows the directories available

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

pwd

A

prints the name of the current/working directory

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

echo

A

displays a line of text, can use it to put text into files (command line version of console.log)

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

touch

A

lets you change file timestamps, or creates an empty file (if you touch a file that doesn’t exist, it will be created)

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

mkdir

A

lets you make directories (files) if they do not already exist

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

mv

A

lets you rename or move directories

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

rm

A

lets you delete files

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

cp

A

lets you copy files

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

What is a CLI?

A

command line interface

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