Pustaka Taratsa
Grep

Grep

Penulis: Onno Widodo Purbo

How do I use grep command on Linux, Apple macOS/OS X, and Unix-like operating systems? Can you give me a simple examples of the grep command? The grep command is used to search text. It searches the given file for lines containing a match to the given strings or words. It is one of the most useful commands on Linux and Unix-like system. Let us see how to use grep on a Linux or Unix like system.