grep This is a basic command on linux based terminal used for searching a pattern in a file linewise. It is made using Data Structures and c language.