LinuxQuestions.org
Review your favorite Linux distribution.
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
 
LinkBack Search this Thread
Old 10-12-2003, 02: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, 02:40 PM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 194Reputation: 194
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
Trackbacks are Off
Pingbacks are On
Refbacks are 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


All times are GMT -5. The time now is 01:57 PM.

Main Menu
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