Common Linux Commands

List usb devices

lsusb

View kernal/operating system errors, e.g. when mounting usb drive

dmesg

View upgradable packages:

sudo apt update
apt list --upgradable

View UUIds

sudo blkid /dev/sdc1

suspend without additional prompts

sudo pm-suspend

Identify users on system

finger
finger <user>

restart network to fix wifi issues

sudo systemctl restart network-manager.service

Open file manager on remote machine (using gui thanks to X11 forwarding):

ssh -X username@host
nautilus
Advertisements