Linux

How to Find Large Files in Linux

When Linux storage is running low, locating large files gives you paths to inspect. The find command searches a chosen directory for files above a size threshold. This article shows how to set that threshold and rank matching files by apparent size. It also explains when du helps compare directory usage. TL;DR: Find large files

How to Find Large Files in Linux Read More »

Installing MySQL on Debian/Ubuntu

A local application needs a place to store its data. MySQL Server is a database service that stores structured data and answers SQL requests, and the mysql client connects to it. I’ll show you how to install the distribution package with APT and check whether the service is active. TL;DR: Install MySQL with APT On

Installing MySQL on Debian/Ubuntu Read More »

How to Use the cp Command in Linux

Copying a file from a terminal means choosing a source path and a destination, which can have a different name. The cp command copies files and, with a recursive option, copies directories and their contents. In this piece, I’ll walk through copying files and directories with cp, then explain how to choose an overwrite option.

How to Use the cp Command in Linux Read More »

How to List All Users in Ubuntu

Checking the accounts on an Ubuntu machine means choosing whether to look at local records or accounts the system can resolve. The getent passwd command looks up records through the machine’s configured account sources, while the /etc/passwd file stores local records. I’ll show you how to list local names and system-resolved accounts, then use a

How to List All Users in Ubuntu Read More »

Install Command in Linux: Examples

Copying a file into place can also mean choosing its destination permissions or creating directories along the path. The GNU install utility prepares files and directories from the command line, including copying a file and creating missing parent directories. I’ll show how to set permissions on a copied file and create the directories it needs.

Install Command in Linux: Examples Read More »