Skip to main content

Posts

Showing posts with the label Unix / Linux

Find a file by name in UNIX/Solaris/Linux

Using the find command, locate a file by name To find a file such as filename.txt anywhere on the system: find / -name filename.txt -print Recent operating system versions do not require the print option because this is the default. To limit the search to a specific directory such as /usr: find /usr -name filename.txt -print