Friday, January 2, 2015

Avoid typing bash every time on the command line

linuxhost-v1> echo $SHELL
/bin/ksh

I like bash shell while running the commands, that way I can use the key board shortcuts and the
features like command completion, Ctrl l, CTRL e, CTRL a etc...
To avoid every time typing bash on the command line just included /bin/bash by creating a .kshrc file
in the home directory of the user

linuxhost-v1> cat .kshrc

/bin/bash

So next time whenever the automatic login is completed from the desktop my new session would switch
my shell to bash.