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 Install MongoDB on Ubuntu

Applications that keep information between runs need somewhere to store it. MongoDB Community Edition is a database server that stores information as documents. I’ll show you how to install MongoDB Community Edition from the repository that matches your Ubuntu release and check that its local server is running. TL;DR Install MongoDB Community 8.0 on Ubuntu

How to Install MongoDB on Ubuntu Read More »

How to Install Git on Ubuntu

Project work often means keeping track of changes to files as they develop. Git records those changes in a repository, and Ubuntu’s APT package manager installs Git from configured software sources. I’ll walk you through installing Git on Ubuntu and preparing a project repository. TL;DR Install Git from Ubuntu’s APT repositories, check that the command

How to Install Git on Ubuntu 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 »