bash

Check all vim colorschemes for minor issues

2013/10/10

Here is script that checks all the colorschemes in the current directory and corrects them if possible (Processing of the file is done with simple commands like sed, grep) Checks that the color_name …

Home grown mail scheduler with bash script and cron

2013/10/04

If you are using Linux (Fedora/Ubuntu or anything else) then you do get a lot of tools and one of them is cron. Very very useful. Just write some script that can do the task for you, put it in cron …

Delete all but some directories

2013/08/16

I think, like me, you would have faced a lot of situations, where you wanted to delete all the files or directories in a location, leaving only the required files/directories. So, I have a directory …

create text tables from delimited files.

2013/07/12

To create simple text tables to paste in emails or to use in any other document where you want to show a table, here is something that you can use. There is a perl module which provides “tablify“. And …

convert tabs to spaces, the easy way

2013/07/08

Lots of times you want to convert tabs to spaces and sometimes from a shell script, if that is the case, then simple solution is “tidy“. First you need to install tidy as follows: sudo yum install …

poor mans watch, watch for solaris

2013/01/01

Here is a simple script that you can use as watch in Solaris as well.

Disable a few cores when you want to save power.

2012/12/28

If you have a lot of CPU power and working on battery. If you do not need that much of power and would like to rather save some battery power by disabling some cpus then you can use the below script. …

quick bash script for datewise backup of directory

2012/12/12

I was working on something and the data was very critical and needed backup. I wrote a bash script to back up the data every 5 hours with cron and bash script. Thought I will share that with you. Here …

Ignore CVS and svn directories in bash autocompletion.

2012/07/07

CVS and SVN directories are something that really cause lot of un-necessary nuisance. So, simple solution just ignore them 🙂

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 – …


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