---

Top 25 Command Line Tips and Tricks

“Place a filename at the beginning of the line to make it easier
to edit the search at the end of the command.

$ ‹/var/log/messages grep foo

$ ‹/var/log/messages grep bar

$ ‹/var/log/messages grep user1″

Complete
Story

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis