How to Use the Linux Mail Command

Composing a message or checking local mail from a Linux terminal starts with knowing what the mail command can do on your system. The Linux mail command is a terminal client for writing messages and reading the current user’s local mailbox. I’ll show how to check which mail implementation is installed and use GNU Mailutils

How to Use the Linux Mail Command Read More »

How to Find the Linux Version on Your System

Software installation instructions can ask which Linux distribution and release is installed, while other checks need the kernel release instead. Linux version commands show either the installed distribution’s release or the running kernel’s release. I’ll show how to read the distribution release from /etc/os-release and check the kernel release separately. TL;DR: Find the Linux distribution

How to Find the Linux Version on Your System Read More »

How to Use the du Command in Linux

Before checking filesystem free space, you may first want to know how much space a particular directory uses. The du command estimates the space used by that directory and its contents. I’ll explain what du measures and show how to request a total or inspect another directory level. TL;DR Use the readable-units option with a

How to Use the du Command in Linux Read More »

How to Use the Tree Command in Linux

An unfamiliar directory can contain several layers of folders, making its contents harder to scan. The tree command displays those folders and their files in a branching hierarchy. This article covers installing tree and tailoring its output with depth limits and name filters. TL;DR The tree command prints a directory and its contents as an

How to Use the Tree Command in Linux Read More »