I just switched from BASH to KSH. I've been back and forth between them. I'm changing due to Korn being the default AIX shell and if I get the position I want, I'll be working on AIX as well as RedHat and Suse.
Here's my home directory:
Code:
rllt1sdk:home/xxxxxx/$: ls -a
. .dbus .gnome .mozilla .vim
.. Desktop .gnome2 .pki .viminfo
.bash_history Documents .gnome2_private .profile .vimrc
.bashrc Downloads .kshrc .sh_history .Xauthority
.cache .emacs.d .lesshst User-Admin xinetd.conf
.config .esd_auth .local Users.txt
Here's my "name -a":
Code:
Linux rllt1sdk.xxxxxxxxxxxx.com 3.10.0-327.22.2.el7.x86_64 #1 SMP Thu Jun 9 10:09:10 EDT 2016 x86_64 x86_64 x86_64 GNU/Linux
As you can see, I have a ".kshrc" in the directory. I just edited it. So, I try to source it with the command ". .kshrc"
I receive the error:
Code:
-ksh: .: .kshrc: cannot open [No such file or directory]
Thanks for your help,
Doug