Filtering files and folders in Linux using find and grep

How to Filter files and folders in the Linux command line?

You can use the grep --help or man grep to get the description and usage of the grep from the terminal itself without searching it on google.

man grep command to get the description on terminal
grep [STRING] [PATH]example:
grep false /etc/passwd
How to use the grep command on Linux?
A detailed explanatory video on the Overview of the grep command in Linux
Get the count of lines in the file using grep and piping
Using egrep command
-i, — ignore-casePerform case insensitive matching. By default, grep is case sensitive.grep -i pending part-00000 | wc -l
Using -i control argument with grep to Perform case insensitive matching
A few basic examples using grep and piping detailed video
grep the folders which contain the specific string
Get the count of folders with the specific name using grep and piping ls command
recursively search the folder with specific pattern files
A Overview of Piping while running shell commands detailed video
Pattern matching in the ls command
Find the file or folder which starts with a specific pattern in the directory
Overview of Basic Pattern Matching detailed video
man wc command from the Linux terminal
using wc * command in Linux
wc [-clmw] [file ...]-w      The number of words in each input file is written to the standard output.
-l      The number of lines in each input file is written to the standard output.
-c      The number of bytes in each input file is written to the standard output.  This will cancel out any prior usage of the -m option.
wc command using along with -w, -l, and -c control arguments
Using wc command to find the pattern */*
using pipe in Linux to get desired output from multiple commands
Deep Dive into wc command to get word count or line count detailed video
man find command to get the manual page for the find command on terminal
find [PATH] [PRIMARIES] [PATTERN]-name pattern

True if the last component of the pathname being examined matches pattern. Special shell pattern matching characters (“[”, “]”, “*”, and “?”) may be used as part of pattern. These characters may be matched explicitly by escaping them with a backslash (“”).

example:
find . -name *.csv
Using the find command on Linux
Using Linux find command to find directories or folders
find ~/data -type fhere f indicates files
Get all the files in the repo by using the find command in the Linux shell
find ~/data -type f -name "*.gz"
How to get all compressed files by using the find command in Linux
find ~/data -type f -name "*_????.*"
Get the file names with a specific pattern using the find command in Linux
find ~/data -type f -name "*_????.*" -exec ls -ltr {} +;
Using the find command along with another command on Linux
Using Linux find command to find files by type and pattern detailed video
Important Directories in Linux shell to troubleshoot
1. /tmp
2. /etc
3. /var
4. /var/log
Important folders in the Linux file system
find /var/log -type f -mtime -1 -exec ls -ltr {} +;
How to get the list of files modified on my computer from the last day?
Find command on Linux
find -type f -size 7477339c -exec ls -ltr {} +
You can get a file with a specific size using the find command
find -type f -size 6M -exec ls -ltr {} +;
Get the files with a specific size range using the find command on Linux
Get the list of files based on size using the Linux find command detailed video