How To Quickly Search For Files And Folders From Linux Terminal

Share on FacebookShare on Google+Tweet about this on TwitterPin on PinterestShare on RedditPrint this page

Here’s how to quickly search for files and folders from Linux terminal:

1. Issue the following command at the terminal –

locate <name of the file or the folder you wish to search for> | more

for e.g. to search for a folder called ‘grub’ the command would be –

locate grub | more

How To Quickly Search For Files And Folders From Linux Terminal

2. Press space to scroll through the results.

How To Quickly Search For Files And Folders From Linux Terminal

How To Quickly Search For Files And Folders From Linux Terminal

3. After you have found the file or folder that you were searching for, press ‘Ctrl’ + ‘C’ to exit.

How To Quickly Search For Files And Folders From Linux Terminal

Comments are closed.