101 exam Flashcards
(372 cards)
Shows the kernel version (release)
uname -r
Displays the system architechture
uname -m
Displays all information that uname can output
uname -a
Shows details about the CPU
lscpu
Shows the running kernel modules
lsmod
Displays detailed information about a kernel module
modinfo
Shows the author of a kernel module
modinfo -a
Shows a brief description of the kernel module
modinfo -d
Shows the license under which the kernel module is located
modinfo -l
Loads a kernel module into the kernel
modprobe
Unloads a kernel module from the kernel
modprobe -r
Unloads a kernel module from the kernel (out of date!)
rmmod
Loads a kernel module into the kernel (outdated)
insmod
Lists all PCI devices
lspci
Lists all PCI devices in more detailed view
lspci -v
Lists all PCI devices in an even more detailed view
lspci -vv / lspci -vvv
Lists all PCI devices, including the modules they use
lspci -k
Lists all USB devices
lsusb
Lists all USB devices in more detailed view
lsusb -v
Lists only the USB devices on bus 002
lsusb -s 002
Only shows the USB devices of the respective manufacturer
lsusb -d
Displays the USB devices in a tree view
lsusb -t
Shows running processes in a tree view
pstree
Shows running processes including the process ID in a tree view
pstree -p