Finding a document in a Linux framework can be troublesome on the off chance that you don’t have the foggiest idea how. The ideal approach to discover records is to use a few distinctive terminal commands. Mastering these commands can give you extensive oversight over your documents, and they are significantly more dominant than the essential search functions on other operating frameworks. Let’s take a look at them.
Ex: (kali@kali:~/Downloads$ find .)
To find records that match a particular pattern, use the “-name” option. You can utilize filename meta-characters such as “*,” yet you should put an escape character “\” in front of each of them. For instance, if we need to find every file that starts with “Sec” in the “Downloads” folder, we need to change our directory to the “Downloads” folder, and after that type the following command:
Ex: (kali@kali:~/Downloads$ find . -name Sec\*)
The “find” operator has a ton of alternatives accessible for refining the search. For more information about the “find” operator, run “man find” in a Terminal window and press “Enter.”
Ex: (kali@kali:~/Downloads$ locate network-manager)
Ex: (kali@kali:~/Downloads$ which ls)
As a matter of course, the “which” command only shows the first matching executable. To show all matching executables, utilize this command with the “-a” option.