Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 10-12-2003, 02:13 PM   #1
LQ Newbie
Registered: Sep 2003
Posts: 27

Rep: Reputation: 15
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
Old 10-12-2003, 02:40 PM   #2
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 250Reputation: 250Reputation: 250
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Alias question (2 commands for one alias) gflores Linux - Newbie 3 01-21-2006 12:40 AM
Problem with Alias in Ksh tomcharnock Linux - Newbie 1 05-18-2005 11:59 PM
alias problem p41elvis Linux - Newbie 1 04-28-2005 10:28 AM
Eth0 IP Alias Problem assyrian47 Slackware 1 04-20-2005 11:50 AM
apache alias problem kausti Linux - Networking 3 11-06-2004 07:58 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:45 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration