The Linux find command is one of the most essential and convenient commands in Linux systems. It can, as the name suggests, discover files on your Linux PC based on basically whatever conditions and variables you set. You can discover files by permissions, users, groups, file type, date, size and other possible criteria using the find command.The find command is available on most Linux distro by default, so you do not have to install a package for it.In this tutorial we will show you ways to discover files

on Linux using various common mixes of search expressions in the command line.Find Files by Name in Present Directories The most apparent way of looking for files is by name. To discover a file by name in the existing directory site, run: discover.- name photo.png If you wish to find a file by name which contains both capital and little letters, run: discover.-iname photo.pngIf you wish to discover a file in the root directory site, prefix your search with sudo which will give you all consents required to do so, as well as the’/’sign which informs Linux to search in the root directory. Lastly, the-print

expression displays the directories of your search results page. If you were looking for Gzip, you ‘d type: sudo discover/-name gzip- print< img title =find-name-gzip src=https://www.maketecheasier.com/assets/uploads/2014/07/find-name-gzip.jpg data-sizes =automobile alt =how-to-find-a-file-in-linux-gzip > Find Files Under Specific Directory Site If you wish to find files under a specific directory like”/ house, run: find/ home -name filename.txt If you desire to find files

how-to-find-a-file-in-linux-gzip

with the”. txt”extension under the”/ home”directory, run: discover/ home -name *. txt To find files whose name is” test.txt

"under several directories like" / home" and"/ opt,

"run: discover/ house/ choose -name test.txt To discover covert files in the"/ house"directory site

, run :find / house- name". *"To find a

file called "test.txt" and eliminate it, run: discover/ home- type f-name test.txt-officer rm

-f .< Tofind all empty files under the