AboutWelcome to Free Software Daily (FSD). FSD is a hub for news and articles by and for the free and open source community. FSD is a community driven site where members of the community submit and vote for the stories that they think are important and interesting to them. Click the "About" link to read more...
There is always a time when working with the CLI that you will want to find a set of files by name, such as all JPEG images. The `find` command lets you do this and more. Let’s jump into the basic structure of a find command:
GNU find is a powerful command-line utility that lets you search for files and folders in a hierarchical tree directory structure. It is the backend for all those utilities out there like the graphical searching in KDE or GNOME. However, find can be a little hard to handle at first by beginners.
The first of the bashshell.net "5 Days of find" series, this tutorial breaks down the basics of the find command. With the Linux find utility, you can perform powerful searches on just about any criterion you can think of, and then, from the same command-line entry, invoke another utility to do whatever you need to do with the results.
One of the things I like about Linux is the command line. I have used nautilus, konqueror, and thunar to manage files in Linux and these file managers are great for what they do. But there are times when one simply wants to find a file when working on the command line without having to open a GUI application.
One of the things I like about Linux is the command line. I have used nautilus, gnome-commander, konqueror, kommander, dolphin and thunar to manage files in Linux and these file managers are great for what they do. But there are times when one simply wants to find a file when working on the command line without having to open a GUI application.
The find command can be used to execute a command based on the data that is located with the initial find command. This provides a powerful alternative for manipulating the data you retrieve.
In today's post I'm going to show how to use the command line find program to search for files. There are certainly different GUI tools available in Linux, such as Beagle, to search for files. The advantage of many of these systems is that they index the files on your system so that the searching is rather fast.