Use Grep like a Boss
Published in
5 min readSep 10, 2023
Ever needed to search through some files or file names on your machine? Grep is a great way across Linux based systems to quickly find exactly what you are looking for.
Search for a string in a file
The simplest way to use grep is to search for some specific text in a single file.
grep <text> <filename>
grep 'match' file1