TerminalHow 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...

TerminalHow 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...

TerminalHow 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...

TerminalHow 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...

TerminalHow 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...

TerminalHow 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...

TerminalHow to Automatically Lock the Linux Terminal After a Period of Inactivity Using TMOUT

Leaving an active, logged-in terminal unattended is one of the most severe security violations a...

LinuxHow to Check the SMART Health Status of a Hard Drive in Linux Using smartctl

Hard drives and solid-state drives (SSDs) do not live forever. Whether running a critical database...

TerminalHow to Prevent a Command from Saving in the Bash History by Using a Leading Space

The Linux terminal has an incredibly helpful feature: it records almost every command you type...

LinuxHow to Completely Disable USB Storage Devices on a Linux System to Prevent Data Theft

If you are managing a secure Linux workstation-such as a point-of-sale terminal, a public library...

LinuxHow to Create an Immutable File in Linux That Even Root Cannot Delete (chattr +i)

In the Linux hierarchy, the root user is a god. If you have root access...

TerminalHow to Safely Extract and Uncompress .tar.bz2 Files in the Linux Terminal

When downloading open-source software, kernel patches, or massive database backups in Linux, you will frequently...

LinuxHow to Find All SUID/SGID Files on a Linux System Using the find Command

In the Linux file permission system, SUID (Set User ID) and SGID (Set Group ID)...

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.