linux system info commands Flashcards

1
Q

whoami

A

Displays current username.

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

id

A

Returns users identity

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

hostname

A

Sets or prints the name of current host system.

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

uname

A

Prints basic information about the operating system name and system hardware.

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

pwd

A

Returns working directory name.

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

ifconfig

A

The ifconfig utility is used to assign or to view an address to a network interface and/or configure network interface parameters.

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

ip

A

Ip is a utility to show or manipulate routing, network devices, interfaces and tunnels.

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

netstat

A

Shows network status.

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

ss

A

Another utility to investigate sockets

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

ps

A

Shows process status

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

who

A

Displays who is logged in

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

env

A

Prints environment or sets and executes command

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

lsblk

A

Lists block devices.

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

lsusb

A

Lists USB devices

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

lsof

A

Lists opened files

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

lspci

A

Lists PCI devices