News

How-to By Emma Street published 13 December 2023 How to find a file in Linux: for Ubuntu users and Command Line explorers Comments (0) ...
Finding a File in Linux To begin, let's create some example files in a directory and then use the find command to find them. 1. Create a test folder containing test files.
find / -path /proc -prune -false -o -name 'dev.conf' What that command does is search the entire filesystem for a file named dev.conf, but leaves out the /proc directory in the process.
Use find to search for any file larger than 100MB in the current directory. We are working inside our test directory and the “.” indicates to search the current directory.
Introduction You may find yourself in a situation where you remember the content of a file but not its name. Linux offers various commands to help you find files based on specific text strings within ...
In the realm of Linux command-line tools, few commands are as versatile and widely used as cat. This article dives deep into the capabilities of the Linux cat command, merging insights from multiple ...
Selecting by field To illustrate how the cut command works, we’ll first run commands using a sample “cities” file that contains details of the largest cities in the US in a tab-separated ...
1. less The less command is my go-to, and I've been using it since I started using Linux. Less, of course, is the opposite of more (which is another command I'll discuss in a moment).
The Linux comm command makes it easy to compare a couple text files and determine if they both contain the same lines -- whether the file contents are sorted or not. Credit: Stokkete / Shutterstock ...