Louisville, KY
Greg is a retired neurologist in Louisville, Kentucky, with a long-standing interest in computers and programming, beginning with Fortran IV in the 1960s. When Linux and open source software came along, it kindled a commitment to learning more, and eventually contributing. He is a member of the Scribus Team.
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.