I've been running Linux systems for 20+ years, servers, VMs, bare metal, all of it.
I post one practical tip every day: SSH tricks, Bash scripts, AWS shortcuts, DevOps tools, Tech News.
Real commands from a real terminal. If you live in the Linux world, follow along.
Want to master Linux one command at a time?
Follow @linuxteck - 1 practical Linux tip every day. For more #LinuxTips click here https://t.co/Wtz5ISYgGM
Quick Linux Tip #105
Q: I need to audit what root users typed in their sessions.
Try:`sudo tail -f /root/.bash_history /home/*/.bash_history 2>/dev/null`
Info: Live streams history files across multiple users.
Want to master Linux one command at a time?
Follow @linuxteck
Want to master Linux one command at a time?
Follow @linuxteck - 1 practical Linux tip every day. For more #LinuxTips click here https://t.co/Wtz5ISYgGM
Quick Linux Tip #104
Q: I deleted sensitive files but worry forensics could recover them. How do I wipe free space?
Try:`sudo dd if=/dev/zero of=/wipe-file bs=1M status=progress; sudo rm /wipe-file`
Info: Zeroes free disk space to prevent data recovery.
Follow @linuxteck
Want to master Linux one command at a time?
Follow @linuxteck - 1 practical Linux tip every day. For more #LinuxTips click here https://t.co/Wtz5ISYgGM
Quick Linux Tip #103
Q: Something is pegging my CPU. How do I pinpoint it with real-time refresh?
Try:`top -b -n 1 -o %CPU | head -20`
Info: Single snapshot sorted by CPU for quick checks.
Want to master Linux one command at a time?
Follow @linuxteck - 1 practical tip.
Want to master Linux one command at a time?
Follow @linuxteck - 1 practical Linux tip every day. For more #LinuxTips click here https://t.co/Wtz5ISYgGM
Quick Linux Tip #102
Q: DNS is failing intermittently. How do I trace the resolution path?
Try:`dig +trace +noanswer https://t.co/hlVtowI1Pv`
Info: Traces full DNS path to locate resolution delays.
Want to master Linux one command at a time?
Follow @linuxteck - 1 practical