bash

Ubuntu setup – post installation script

2012/07/03

If you have done a new installation of Ubuntu or Fedora, then yuou know you have to search all kind of blogs to find out what all to install. So, here is a easier way to do that. Just run this script, …

rpmconf – Tool to handle rpmsave and rpmnew files

2012/06/18

Install the utility: sudo yum install rpmconf Description: […] And finally run the utility: sudo rpmconf -a and if there is a conflict or rpmsave or rpmnew file, then you will see something …

symlinks -delete all invalid soft links in Linux/Fedora

2012/06/12

First of all, install symlinks if it is not installed : sudo yum install symlinks and here is the description: […] and the help for the same: […] symlinks: scan/change symbolic links – …

Array of all possible colors in bash script

2012/05/07

Sometime back, we had looked at using colors in bash script and here is a way to create a array of all the colors. #!/bin/bash - …

colors in bash scripts

2012/04/30

I have been trying to understand the color codes for bash for a pretty long time, but somehow never got time to understand this clearly. So this time around when I was writing a script to analyze some …

bash prompts — some good links

2012/03/08

Here are some pretty good links on the subject. Since there are already so many blog posts, does not make sense to add one more 🙂 http://tldp.org/HOWTO/Bash-Prompt-HOWTO/c816.html …

Thumbnail

15 Linux Bash History Expansion Examples You Should Know

2012/03/02

Here is a nice link on BASH History Expansion. There are lot of examples in this page and some of them might be quite useful. But here are my list of favourites: !! This is probably the most used one …

xmlwf – Is your xml document well formed?

2012/02/18

There is a small nifty utility called xmlwf that can check your xml documents to see if they are well formed. sudo yum install expat Once installed, simply use : xmlwf Need more details, just check …

Using file partially for filenames

2012/02/12

There are some commands that take file name and there are some case where you need to give file name. But there are some cases where you want to modify the file before passing it to the command. What …

Benchmarking the system/CPU performance

2012/01/15

Have you ever wanted to have a quick check on your CPU performance. I know that lot of people will say that this is not the right way to do this, but here is something that you can use to check the …

Thumbnail

conky script used to monitor server status remotely.

2012/01/12

I was looking for something to monitor few details on the server. I thought about quite a lot of applications, some open source and some scripts developed in house. But my requirements were quite …

BASH Script Performace

2012/01/06

Today we will look at some bash code snippests and the performance issues. Lets first look at the problem and the implemented solution: Problem: We needed to log the output of the ps command for all …


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