It will print all the files with the upper case as well as the lower case file name.Ĥ. To avoid this condition, we can use the “-i” option to avoid the case sensitive search.Įxplanation: As per the above command, we are using the “-i” option with the find command. In the Find File Command, we can search the file by its file name.
It will not consider or print the file name with the upper case file name.
In the find command, we are having the functionality to find the file by its extension.Įxplanation: We are able to print all the list of file with the “.txt” extension. We will get all the list of file with a similar name (on the “/” location). Because it is case sensitive.Įxplanation: As per the above command, we are finding the file with its name “file.txt”. Note: While searching the file name, make sure the file name will correct. We need to use the “-name” option with the find command. The find file by name is the most common way to practice the find command in the Linux operating system. It will impact on the “-ok” actionĮxamples to Implement Linux Find File Commandįollowing are the examples are given below: 1.
Generally, the file searching functionality is by default present in the operating system. In every operating system, there are a lot of ways to search the file on the system environment. It will help to search the file with a file location.
Web development, programming languages, Software testing & othersįind
Start Your Free Software Development Course