Basic Linux Commands Flashcards

1
Q

What does man do in Linux?
(manual)

A

Opens Manual page

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

What does shutdown
Linux command do?

A

Shut Down

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

It is a command used for text editing called vi(Visual Editor)?

A

Text Editor(Crypto)

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

nano

A

Simple Text Editor(Crypto) is a command for text editing.

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

What is the top command?

A

A command in Linux. That Displays running processes.

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

What does dig stand for and what is its purpose?

A

Domain Information Groper; queries DNS records.

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

What does the iwconfig command do?

A

iwconfig configures wireless network interfaces and displays settings like SSID, mode, frequency, and encryption.

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

What does the ip command do?

A

It is a group of commands.

The ip command shows/manages network interfaces, routing, and ip addresses

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

What does the passwd command do?

A

Changes or Updates user account passwords.

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

What is the purpose of sudo?

A

Runs commands with elevated(superuser) privileges. May also execute commands as another user.

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

What does yum/dnf stand for and what does it do?

A

Yellow dog Updater, modified; manages software packages on RPM-based systems.

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

What is the difference between apt or apt-get?

A

Both manage packages on Debian-based systems; apt in a more user-friendly, modern replacement for apt-get.

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

What does the ps command do?

A

Displays information about running processes.

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

What does chmod stand for and what does it do?

A

Change Mode; modifies file permissions.

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

What does the df command do?

A

Displays available disk space on file systems.

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

grep

A

Filter and Search

17
Q

What is the purpose of the cat command?

A

Concatenates and displays the content of files.

18
Q

What does the find command do?

A

Searches for files and directories based on a specified criteria.

19
Q

What does the rm command do?

A

Removes (deletes) files or directories.

20
Q

What does the cp command do?

A

Copies Files and Directories.

21
Q

What does the mv command do?

A

Moves or renames Files and directories.

22
Q

What does the pwd command stand for, and what does it do?

A

Pwd stands for Print Working Directory; it displays the full path of the current directory.

23
Q

What does ls command do?

A

List the contents of files and directories.