See devices on local network arp-scan --localnet Check disk usage du -h Finding text in files cat /path/to/file.txt | grep -o -P '.{0,3}string-to-match.{0,10}' See first few lines in file head /path/to/file.txt List all processes, ordered by name ps -A --sort cmd