LinuxHow to Completely Disable ‘Swap’ Space in Linux to Prevent Hard Drive Thrashing
In traditional Linux architecture, “Swap” space is a dedicated partition (or file) on your hard...
LinuxHow to Completely Disable the ‘root’ Login Over SSH to Protect Your Linux Server
When you lease a brand new Linux server from a cloud hosting provider, the default...
LinuxHow to Prevent a Specific User from Using the ‘su’ Command to Become Root in Linux
In Linux system administration, the su (Substitute User) command is a powerful tool. By typing...
LinuxHow to Change the Default SSH Port (Port 22) on Linux to Prevent Brute-Force Attacks
If you spin up a brand new, clean Ubuntu or Debian server on a major...
LinuxHow to Securely Lock a Linux Terminal Session While Walking Away Using vlock
If you are working as a systems administrator in a busy corporate office, it is...
LinuxHow to Monitor Hard Drive Health and Imminent Failure on Linux Using smartctl
In a production Linux environment, hard drives do not fail gracefully. A mechanical HDD or...
LinuxHow to Force a Filesystem Check (fsck) on the Next Reboot in Linux
If your Linux server suddenly loses power during a blackout, or if the kernel experiences...
LinuxHow to Force a Stuck SSH Session to Disconnect Instantly Using the Tilde Escape Sequence
Anyone who manages Linux servers over a Wi-Fi connection or a cellular hotspot has experienced...
LinuxHow to Securely Lock Down Shared Memory (/run/shm) to Prevent Linux Privilege Escalation
When securing a Linux web server, administrators obsess over configuring firewalls and disabling SSH root...
LinuxHow to Securely Block All Incoming Ping Requests (ICMP) on a Linux Server Using iptables
When you deploy a new Linux server onto the public internet, one of the primary...
LinuxHow to Automatically Clear Your Mac’s DNS Cache Using the Terminal
The Domain Name System (DNS) is the phonebook of the internet. When you type digitash.com...
LinuxHow to Securely Generate a Random Password in the Linux Terminal Using OpenSSL or /dev/urandom
When deploying a new database, creating a new user account, or setting up a secure...
LinuxHow to View and Delete the Hidden ‘.DS_Store’ Files on a Mac Using Terminal
If you use a Mac and frequently share ZIP files with Windows users, or if...
LinuxHow to Completely Disable SSH Password Authentication on a Linux Server for Enhanced Security
If you rent a VPS (Virtual Private Server) from DigitalOcean, AWS, or Linode, within minutes...
LinuxHow to Completely Disable the System Beep (Bell) in Linux Using the xset Command
If you spend all day working in a Linux terminal, you are intimately familiar with...
LinuxHow to Completely Disable the Touchpad on a Linux Laptop Using the xinput Command
If you are using a Linux laptop on a desk and have a high-quality USB...
LinuxHow to Automatically Send a Telegram Message from the Linux Terminal Using curl
If you manage a Linux server, you rely on cron jobs and bash scripts to...