bash

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 …

Backup of files in the directory.

2011/12/01

I was working on some scripts and the changes that I was making in the scripts was very dynamic, which I did want to keep backing up in the version control system. But for the peace of my mind, I …

Linux hardware details.

2011/11/28

Here is one of the scripts that I found on the net while searching for something … Note the URL for the script in the Description.

Add ssh key to remote host

2011/11/15

Image via Wikipedia […] If you are working on recent versions of the *nix OS like Fedora or Ubuntu then you would know about the commad ssh-copy-id. But if you land up using one of the older …


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