Modern QA2026Quick Reference: Essential Commands — tiles
Log inJoin
53 / 55 · 19 Linux & Command Line · Logs and Environment Variables← prev⊞ allnext →☰ Read as one page

7.5Quick Reference: Essential Commands

Task Command
Find a file find / -name "playwright.config.ts" 2>/dev/null
Disk usage df -h
Memory usage free -h
Watch a command repeatedly watch -n 5 "curl -s localhost:3000/health"
Compare two files diff expected.json actual.json
Compare directories diff -r dir1/ dir2/
Check DNS nslookup staging.example.com
Open network ports ss -tlnp
Download a file wget https://example.com/file.zip
Create an archive tar -czf backup.tar.gz test-results/
Extract an archive tar -xzf backup.tar.gz
Check file encoding file document.txt
Count lines in files wc -l *.spec.ts