function

Display the history and optionally grep

2010/05/19

Ever wondered how good it would be to have a command/function that would display the history or display the history with <a class="zem_slink" title="Grep" …

Display a block of text with delineated by a start pattern and an end pattern

2009/12/18

Taken idea from commandlinefu.com The command will display a segment from the file from the start pattern to the end pattern. function viewsegment() { tail -n +`fgrep -n -m 1 “$1” $3 | …

View the newest xkcd comic.

2009/12/07

This function displays the latest comic from xkcd.com. One of the best things about xkcd is the title text when you hover over the comic, so this function also displays that after you close the comic. …


This website uses cookies to ensure you get the best experience on our website. Learn more Got it