I have created an alias:
alias shh='sqlplus hfdora/hfdora@hfd1"
After creating this alias I was able to enter my database only by typing shh
.
But after closing my shell, I wasn't able to find the alias next time. Even after typing only alias
, shh
was not showing in the list.
Is there any file to make an alias permanent so that it will not be erased?
Best Answer
For
ksh
:For
bash
:For
zsh
:Use
source
for the instant effectAnd as @glennjackman said: