linux search file in folder code example
Example 1: linux find any file linux
#find a file and print with path
find . -print | grep -i *.txt
Example 2: find by name linux
# dot is curr dir
find . -name "*.txt"
#find a file and print with path
find . -print | grep -i *.txt
# dot is curr dir
find . -name "*.txt"