dexter's blog

How to check previous command status in BASH?

  • Posted on: 23 April 2020
  • By: dexter

BASH is the default shell in GNU/Linux systems.  While writing BASH scripts sometimes it become necessary to take action based upon the success of previous command. So how do we do this.

First we need to understand that almost every command that is run once completed returns a exit code, 99% of commands just use 0 for success, 1 for failure. Without getting into other details, lets see how we can use this value.

GNU/Linux: Understanding important installation steps

  • Posted on: 19 April 2020
  • By: dexter

The hard drive need to be partitioned properly before you can install GNU/Linux system, some time if you want to keep the existing OS, you will need to resize the existing parts to make space for the new OS

GNU/Linux Advantages and Pre-Install checklist

  • Posted on: 12 April 2020
  • By: dexter

The Linux kernel is widely used now a days to for a usable system, generally what people refer as an OS, which we prefer to call as GNU/Linux distribution.  Linux itself is available as a Free Software as well as most of the GNU/Linux Distributions are also available under similar FOSS licenses.

Introduction to GNU, Linux and Open Source

  • Posted on: 10 April 2020
  • By: dexter

Linux is an operating system, core kernel or the actual operating system.  It was developed by Linus Torvalds. The first prototypes of Linux were publicly released later that year (1991) under the GNU General Public License, designed and drafted by  Richard Stallman commonly knows as RMS the free software guru.

Is investing in a Solar Water heating system worth?

  • Posted on: 29 February 2020
  • By: dexter

Lot of people today are looking forward towards free energy, green energy etc.  In this post I am going to illustrate with an example if solar based heating systems are worth invsting or not?

First thing, If you are a green energy fan, then totally yes, solar water heater are definitely useful as they consume no electrical power. And when they get good sunshine (avg 4 hours per day) they can give you really hot water. Hot enough to burn you skin. (approx 70 Deg in summer, based on experience in Pune, India)

About power saving — Definitely yes as it will not consume any electricity.

Evacuated Tube Solar Water heater