System Information Commands Flashcards

1
Q

Displays current username.

A

whoami

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

Returns users identity

A

id

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

Sets or prints the name of current host system.

A

hostname

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

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

A

uname

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

Returns working directory name.

A

pwd

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

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

A

ifconfig

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

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

A

ip

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

Shows network status.

A

netstat

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

Another utility to investigate sockets.

A

ss

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

Shows process status.

A

ps

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

Displays who is logged in.

A

who

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

Prints environment or sets and executes command.

A

env

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

Lists block devices.

A

lsblk

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

Lists USB devices

A

lsusb

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

Lists opened files.

A

lsof

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

Lists PCI devices.

A

lspci