Linux basic search - MdNor/rocksoft GitHub Wiki

Use the find command to find a file easily.

$find {directory-name} -name {filename}

1) Search for a file(eg: abc123.txt) in entire system

find / -name 'abc123.txt'

2) Search for a file(eg: abc123.txt) in specific directory(eg: /home)

find /home -name 'abc123.txt'

source