command line Flashcards

1
Q

What is a CLI?

A

command-line interface processes commands to a computer program in the form of lines of text

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

What is a GUI?

A

graphical user interface -
form of user interface that allows users to interact with electronic devices through graphical icons and audio indicator

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

man

A

an interface to the on-line reference manuals
man man

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

cat

A

combine the contents of files
cat hello.txt hi.txt

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

ls

A

lists files and directories

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

pwd

A

prints the path of the working directory

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

echo

A

prints text to terminal
echo ‘Hello, World!’
console.log for the terminal

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

touch

A

creates new file touch hi.txt and updates the timestamp of the file

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

mkdir

A

make new directories

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

mv

A

move files into a different directory

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

rm

A

delete files

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

cp

A

copy files

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