![]() ![]() If you issue the command man find, you’ll see the syntax of the find command is: find ![]() Little did I know there was more to the command than that. It seemed simple issue the command find FILENAME (where FILENAME is the name of the file) and the command was supposed to locate the file and report back. When I first glimpsed Linux, back in 1997, I didn’t quite understand how the find command worked therefore, it never seemed to function as I expected. Let’s get up to speed with the find command so you can take control of locating files on your Linux servers and desktops, without the need of a GUI. That’s not only convenience, that’s power. To make the understanding of this command even more enticing, once you know it, you can start working it into your Bash scripts. If your default desktop doesn’t - because this is Linux - you can always install an app to make searching your directory hierarchy a breeze.īut what about the command line? If you happen to frequently work in the command line or you administer GUI-less Linux servers, where do you turn when you need to locate a file? Fortunately, Linux has exactly what you need to locate the files in question, built right into the system. It goes without saying that every good Linux desktop environment offers the ability to search your file system for files and folders. For more great SysAdmin tips and techniques check out our free intro to Linux course. This is a classic article written by Jack Wallen from the archives.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |