Skip to content
Archive of entries posted on 23rd July 2010

Bash Examples – Mistakes to Avoid

A bash script is a text file containing a list of commands to be executed by the bash shell. A long time back, I had written a guide on Bash scripting which teaches you the basic syntax of bash scripts in a mere 10 seconds. Rest here. Sphere: Related Content

Make better use of the scripting feature in the vim editor

There is a nice tutorial on the Scripting the vim editor I liked it, hope you too like it.

Get the information on all the rpms installed on the system

Here\’s a one-liner to get the info on all the packages installed on your system. rpm -qa –info |tee All_rpms_Info This is what it does, when you query the rpm database with the –info parameter, then the output looks something like the below, which is quite helpful. Name        : rpm                          Relocations: (not relocatable) Version     : [...]