Just discovered the "!!" and its usage in vi. Very handy and much easier to use than redirecting output to a text file. Effectively, if you type "!!" in command mode, it executes the current line as input and inserts the command output in the file. For example, if I press "!" twice on the keyboard and then type "hostname" at the prompt, the hostname of the machine will be inserted in the file I'm editing. Very nice!
I originally started blogging about my experiences with SAP's Crystal Reports but then my role expanded to include integration of our product with other products such as SCOM and PagerDuty. So, I thought I'd blog about the interesting aspects of these products as well.
Sunday, February 19, 2012
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment