command line Linux Flashcards

1
Q

What is a CLI?

A

A command-line interface (CLI) processes commands to a computer program in the form of lines of text. The program which handles the interface is called a command-line interpreter or command-line processor.

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

What is a GUI?

A

a GUI is a form of user interface that allows users to interact with electronic devices through graphical icons and audio indicator such as primary notation, instead of text-based user interfaces, typed command labels or text navigation.

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

man cmd in Linux

A

opens up manual page for commands

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

cat cmd in Linux

A

cat command is one of the most frequently used command in Linux/Unix like operating systems. cat command allows us to create single or multiple files, view contain of 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 cmd in Linux

A

UNIX and Linux command for listing directory contents.

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

pwd in Linux

A

prints present working directory

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

echo in Linux

A

echo command in linux is used to display line of text/string that are passed as an argument

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

touch in Linux

A

t is used to create a file without any content. The file created using touch command is empty. This command can be used when the user doesn’t have data to store at the time of file creation

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

mkdir in Linux

A

command in Linux/Unix allows users to create or make new directories. mkdir stands for “make directory.”

With mkdir, you can also set permissions, create multiple directories (folders) at once, and much more

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

mv in Linux

A

mv stands for move. mv is used to move one or more files or directories from one place to another in file system like UNIX. It has two distinct functions:

(i) It rename a file or folder.
(ii) It moves group of files to different directory.

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

rm in Linux

A

stands for remove here. rm command is used to remove objects such as files, directories, symbolic links and so on from the file system like UNIX

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

cp in Linux

A

stands for copy. This command is used to copy files or group of files or directory. It creates an exact image of a file on a disk with different file name. cp command require at least two filenames in its arguments.

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

What is a computer process?

A

In computing, a process is the instance of a computer program that is being executed by one or many threads. It contains the program code and its activity. Depending on the operating system (OS), a process may be made up of multiple threads of execution that execute instructions concurrently

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

Why should a full stack Web developer know that computer processes exist?

A

Full stack Web development is based on making multiple processes work together to form one application, so having at least a cursory awareness of computer processes is necessary. This will be extremely important when learning about applications made of multiple components, such as clients, servers, and databases.

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