printf "%s " "alias shh='sqlplus hfdora/hfdora@hfd1" >> ~/.bashrc source ~/.bashrc # for immediate effect #or add your alias to ~/.bashrc directly