Webopedia on Google+Webopedia on TwitterWebopedia on FacebookTech Bytes Blog
Main » TERM » G »

grep

Short for global-regular-expression-print, a UNIX utility that allows the user to search one or more files for a specific string of text and outputs all the lines that contain the string. The user also has the option to replace the string with another.

For example, on a UNIX command line, the user can enter

grep webpage webopedia.htm

commanding the system to search for the character string webpage in the webopedia.htm file. The result will display any and all lines in the file that contain that specific string of characters.

Grep originated from a UNIX text editor, which provided the command sequence g/re/p.







TECH RESOURCES FROM OUR PARTNERS
DID YOU KNOW?
11 Tips to Boost Your Wi-Fi Signal

It's not just your lawnmower and household tools that your neighbor won't return. Our top picks include everything from updating device firmware... Read More »

Interesting Times: Transformation in the IT Channel

Business transformation will remain the buzzword of the moment as channel firms continue to assess the direction of their companies in the age of... Read More »

What is a Virtual Private network (VPN)?

Companies and organizations will use a VPN to communicate confidentially over a public network and to send voice, video or data. Read More »

QUICK REFERENCE
29 Free Android Apps for Cash-Strapped Students

From wacky alarm clocks to lecture hall tools and after class entertainment, these Android apps are a good fit for a student's life and budget. Read More »

Network Fundamentals Study Guide

A network is a group of two or more computer systems or devices, linked together to share resources, exchange files and electronic communications.... Read More »

Computer Architecture Study Guide

This Webopedia  study guide describes the different parts of a computer system and their relations. Read More »