04.05.10 - Find files in Linux
0 comments
How to find files in our Linux system with the "find" command
Find files in our Linux system can't be as easy as using the "find" command. Using it we can find any matching expression inserted in the command line. If we want to find a file named "FILE" in the current work directory, we can write the next statement:
Also we can use glob type expressions (regular expressions) like:
The search is recursive, it will search into all directories under the current work directory. If we want to search into all the file system without permission restrictions we must use:
$ find -name FILE
$ find -name *.pdf
# find / -name FILE
Comments
There are no comments jet. Be the first to comment!
