Greg Pittman

Authored Comments

Because of the way grep returns information, it can tell you how to structure information in a text file for the most efficient retrieval with grep.
You can play with regex by loading a file with kwrite, and use Find/Replace with Regex option, and click Find All to see what the regex entry matches.

For something you do very often, it can be easiest to create an alias, by putting this line in your .bashrc file:

alias example='touch /tmp/hello'

You can even string together a series of commands corresponding to lines of a script by separating them with semicolons.