LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   alias problem (https://www.linuxquestions.org/questions/slackware-14/alias-problem-103126/)

petarsabev 10-12-2003 02:13 PM

alias problem
 
When I type :
alias q='exit'
I use q to exit. It is working.
But when I reboot, there is no such link.
Why it is not saved?
Slackware 9.0

trickykid 10-12-2003 02:40 PM

Cause you will need to tell your system to use this alias at boot/user login time as what your doing is only on that particular session.

Add that alias to your users .bashrc file if you have one or to the /etc/profile file.


All times are GMT -5. The time now is 12:56 AM.