LinuxHow to Use the ‘screencapture’ Command for Automated Screenshots via Terminal
The Need for Programmatic Screenshots Every Mac user knows the graphical keyboard shortcuts for taking...
LinuxHow to Use the ‘htop’ Command for Interactive System Monitoring and Process Management
The Problem with Standard ‘top’ When a Linux server suddenly becomes unresponsive, the first instinct...
LinuxHow to Use the ‘mdfind’ Command for High-Speed Spotlight Searching via Terminal
The Sluggishness of standard ‘find’ When searching for a misplaced file via the macOS Terminal,...
LinuxHow to Use the ‘tmux’ Terminal Multiplexer to Keep SSH Sessions Alive
The Danger of Broken SSH Connections If you have ever connected to a remote Linux...
LinuxHow to Securely Generate and Use Ed25519 SSH Keys for Remote Server Authentication
The Shift Away from RSA For nearly two decades, RSA (Rivest-Shamir-Adleman) keys were the undisputed...
LinuxHow to Use the ‘screen’ Command to Keep Terminal Sessions Alive on Remote Servers
The Danger of Disconnected SSH Sessions If you connect to a remote Linux server via...
LinuxHow to Use SSH Multiplexing to Dramatically Speed Up Remote Connections
The Latency Problem with SSH Secure Shell (SSH) is the bedrock of remote Linux administration....
LinuxHow to Configure Fail2Ban to Protect SSH Servers from Brute Force Attacks
The Threat of SSH Brute Force Attacks If you expose an SSH server to the...
LinuxHow to Automatically Send a Slack Message from the Linux Terminal Using curl
If you run an intensive nightly backup script on a Linux server, or deploy code...
LinuxHow to Automatically Log Out Idle SSH Users in Linux Using the TMOUT Variable
If you manage a fleet of Linux servers for a team of developers, you will...
LinuxHow to Automatically Clear the Bash Command History on Logout in Linux
Every time you type a command into a Linux terminal, the operating system quietly saves...
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 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 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 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...