Basic Linux: System Info Flashcards
1
Q
whoami
A
Displays current username.
2
Q
id
A
Returns users identity
3
Q
hostname
A
Sets or prints the name of current host system.
4
Q
uname
A
Prints basic information about the operating system name and system hardware.
5
Q
pwd
A
Returns working directory name
6
Q
ifconfig
A
The ifconfig utility is used to assign or to view an address to a network interface and/or configure a network interface parameters
7
Q
ip
A
ip is a utility to show or manipulate routing, network devices, interfaces and tunnels
8
Q
netstat
A
Shows network status
9
Q
ss
A
Another utility to investigate sockets
10
Q
ps
A
Shows process status
11
Q
who
A
Displays who is logged in
12
Q
env
A
Prints environment or sets and executes command
13
Q
lsblk
A
lists block devices
14
Q
lsusb
A
lists USB devices
15
Q
lsof
A
Lists opened files