Terms

grep A command that lets you locate the lines in a file that contain a particular word or a phrase. The term grep is short for globally regular expression print.

head A command used to display the first few lines of a file.

tail A command used to display the last few lines of a file.

Get Sams Teach Yourself Shell Programming in 24 Hours, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.