Jayant Verma

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 »

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 »