command line basics Flashcards

1
Q

What is a CLI?

A

A command-line interface (CLI) is a text-based user interface

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

What is a GUI?

A

A graphics-based operating system interface that uses icons, menus and a mouse: graphics user interface

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

man

A

manual used to find information about other commands

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

cat

A

cat command allows us to create single or multiple files, view content of a file, concatenate files and redirect output in terminal or files.

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

ls

A

The ls command lists files and directories within the file system, and shows detailed information about them.

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

pwd

A

pwd stands for Print Working Directory. It prints the path of the working directory, starting from the root.

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

touch

A

used to create, change and modify timestamps of a file.

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

mkdir

A

allows the user to create directories (also referred to as folders in some operating systems)

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

mv

A

mv stands for move. mv is used to move one or more files or directories from one place to another in a file system like UNIX.

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

rm

A

rm is a command-line utility for removing files and directories.

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

cp

A

cp stands for copy. This command is used to copy files or group of files or directory.

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