FIND :
Mainly used for search the file or document name.
Eg.,
find /u01/ -name "ERROR" --> it will search both files and folders.
find /u01/ -type f "ERROR" --> it searches only file name.
find /u01/ -type d "LOGS" _ --> it searches only directory name.
find . -name ".*" --> Important , this will search the hidden file in the current directory.
find . -size +1GB / +1M / -1M --> last one will provide the everything which are less than 1 MB.
find /u01/ -name "ERROR*" --> it can search the wildcard also.
Important Points :
- Find is case sensitive.
Latest comments (0)