Linux commands Flashcards
Displays current username
A. id
B. hostname
C. whoami
whoami
Returns users identity
a. whoami
b. id
c. uname
id
Sets or prints the name of current host system
a. uname
b. Ip
c. hostname
hostname
Prints basic information about the operating system name and system hardware
a. uname
b. netstat
c. ps
uname
Returns working directory name
pwd
Used to assign or to view an address to a network interface and/or configure network interface parameters
ifconfig
A utility to show or manipulate routing, network devices, interfaces and tunnels
Ip
Shows network status
a. who
b. ss
c. netstat
netstat
Another utility to investigate sockets
a. ss
b. isof
c. ps
ss
Shows process status
a. who
b. ps
c. env
ps
Displays who is logged in
a. isusb
b. ss
c. who
who
Prints environment or sets and executes command
a. ps
b. env
c. Isblk
env
Lists block devices
a. Isblk
b. who
c. Isof
lsblk
Lists USB devices
a. Isusb
b. Isof
c. who
lsusb
Lists opened files
a. env
b. Isof
c. netstat
lsof