how to look at the details of a file linux code example
Example 1: linux find from file content
grep -rnw '/path/to/somewhere/' -e 'pattern'
Example 2: find a file in linux terminal
find /home/username/ -name "*.err"
Example 3: how to get file type in linux
file <filename>
Example 4: linux find file
# syntax
# find *</path/to/dir> '(' *<Filter-1> *<and/or-operator> *<filter-2> ')'
# example
find . '(' -name "Test*.pm" -a ! -name 'Useless*' ')'