With this command, we’re going to search in the current folder for files that match the pattern “*.*s”. It is easy to forget to do this, but if you don’t quote the wildcard pattern find won’t be able to properly carry out the command you gave it. Patterns must be quoted to work correctly. Patterns make use of wildcards where * means any string of characters and ? means any single character. We can provide filenames or file patterns.
To start the search from your home folder use this command: find ~įor find to be something more than an auto-recursing version of ls, we must provide it with something to search for. To have find search from the root folder you’d use this command: find / If this is the case with your version of Linux, use the following command: find. Some implementations of find require you to put the.