LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 10-12-2003, 03:13 PM   #1
petarsabev
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, 03:40 PM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

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


Reply


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 01:40 AM
Problem with Alias in Ksh tomcharnock Linux - Newbie 1 05-19-2005 12:59 AM
alias problem p41elvis Linux - Newbie 1 04-28-2005 11:28 AM
Eth0 IP Alias Problem assyrian47 Slackware 1 04-20-2005 12:50 PM
apache alias problem kausti Linux - Networking 3 11-06-2004 08:58 PM


All times are GMT -5. The time now is 08:17 AM.

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