UNIX Flashcards

1
Q

What is a CLI?

A

Stands for command line interface. it’s used to receive commands from a user 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

Stands for graphical user interface. a form of user interface that allows users to interact with electronic devices through graphical icons and audio indicator, rather than text-based UI’s, typed command labels or text navigation.

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

Give at least one use case for man.

A

it is used to access the manual

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

Give at least one use case for cat.

A

you can use the command to print text documents in the console or combine text documents into one new document.

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

Give at least one use case for ls.

A

it is used to move all the files from one directory into one file?

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

Give at least one use case for pwd.

A

figuring out which directory you’re working in

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

Give at least one use case for echo.

A

You can make sure that the terminal is printing things.

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

Give at least one use case for touch.

A

a command used to update the access date and/or modification date of a computer file or directory.

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

Give at least one use case for mkdir.

A

you can make a directory.

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

Give at least one use case for mv.

A

move/rename files

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

Give at least one use case for rm.

A

you can delete things with this. (be careful with this command.)

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

Give at least one use case for cp.

A

copy files and directories

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

What are the three virtues of a great programmer?

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