BASH – Filename Toggle Case

Disclaimer

The instructions/steps/scripts/methods given below worked for me running CentOS. It may very well work for you on other linux distributions, Red Hat-like or otherwise. Please note that if you decide to use these instructions on your machine, you are doing so entirely at your very own discretion and that neither this site, sgowtham.com, nor its author is responsible for any/all damage – intellectual or otherwise.

Continue reading “BASH – Filename Toggle Case”

PenguiCon 4.0

Day 0

As planned, I woke up around 4 am and Kyle (along with Steve and Peter) were at my house around 6 am to pick me up. Journey started on scheduled and it was after a long time that I was sitting in the backseat. This (I mean sitting in the backseat) has its own advantages – one, I don’t have to wear seat-belt; two, I don’t have to drive; third (very important), I can keep napping 😀 We stopped at several different places and somewhere on I-75/US-23 I learnt about booting a Mac in Target mode. What this does is to show one Mac’s hard drive as an external storage in another machine. This technique was used to transfer very important data from Kyle’s Mac to mine. We reached Livonia around 4 pm or so, and this is only the second conference/meeting where I my name-tag had just my name.

Continue reading “PenguiCon 4.0”

BASH – Center Align A File

Disclaimer

The instructions/steps/scripts/methods given below worked for me running CentOS. It may very well work for you on other linux distributions, Red Hat-like or otherwise. Please note that if you decide to use these instructions on your machine, you are doing so entirely at your very own discretion and that neither this site, sgowtham.com, nor its author is responsible for any/all damage – intellectual or otherwise.

Continue reading “BASH – Center Align A File”

PERL – Disk Usage Reminder

Disclaimer

The instructions/steps/scripts/methods given below worked for me running CentOS. It may very well work for you on other linux distributions, Red Hat-like or otherwise. Please note that if you decide to use these instructions on your machine, you are doing so entirely at your very own discretion and that neither this site, sgowtham.com, nor its author is responsible for any/all damage – intellectual or otherwise.

Continue reading “PERL – Disk Usage Reminder”

BASH – Router’s Public IP Address

BASH, AWK and SED

BASH is a free software Unix shell written for the GNU Project. Its name is an acronym which stands for Bourne-again shell. The name is a pun on the name of the Bourne shell (sh), an early and important UNIX shell written by Stephen Bourne and distributed with Version 7 UNIX circa 1978, and the concept of being born again. BASH was created in 1987 by Brian Fox. In 1990 Chet Ramey became the primary maintainer. BASH is the default shell on most GNU/Linux systems as well as on Mac OS X and it can be run on most UNIX-like operating systems. It has also been ported to Microsoft Windows using the POSIX emulation provided by Cygwin, to MS-DOS by the DJGPP project and to Novell NetWare.

Continue reading “BASH – Router’s Public IP Address”

C – Translate The Coordinates Along Any Given Axis

Disclaimer

The instructions/steps/scripts/methods given below worked for me running CentOS and various other distributions. It may very well work for you on other linux distributions, Red Hat-like or otherwise. Please note that if you decide to use these instructions on your machine, you are doing so entirely at your very own discretion and that neither this site, sgowtham.com, nor its author is responsible for any/all damage – intellectual or otherwise.

Continue reading “C – Translate The Coordinates Along Any Given Axis”

VASP, MPICH, Intel Compilers and Rocks

Much of the weekend was spent in some relaxation, shoveling snow (I have come to realize that this is a very good exercise – it can make one sweat even when it’s +10F outside!) and trying to debug the errors associated with execution of parallel version of VASP 4.6.28. However, same errors persisted and I didn’t go too far ahead with it.

Continue reading “VASP, MPICH, Intel Compilers and Rocks”

BASH – Login Counter

Disclaimer

The instructions/steps/scripts/methods given below worked for me running CentOS. It may very well work for you on other linux distributions, Red Hat-like or otherwise. Please note that if you decide to use these instructions on your machine, you are doing so entirely at your very own discretion and that neither this site, sgowtham.com, nor its author is responsible for any/all damage – intellectual or otherwise.

Continue reading “BASH – Login Counter”