LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-23-2002, 09:31 PM   #1
tied2
Member
 
Registered: Jun 2002
Location: Florida
Distribution: Redhat, FreeBSD, FC 6
Posts: 220

Rep: Reputation: 30
Question alias question


(OS) RH 7.3

ok I make a alias for my eth0 connection it went like this.

alias up='ifup eth0' and alias dn='ifdown eth0'

after I made them I checked them to see if they worked, they did.
then I closed that konsole and reopened another and retried the commands but it says "command not found" did I need to do something else to save the alias?

Thanks again LQ
 
Old 08-23-2002, 10:08 PM   #2
gdrobson
Member
 
Registered: Jun 2002
Location: Ontario, Canada
Distribution: RH8.0
Posts: 65

Rep: Reputation: 15
Did you add the aliases to your ~/.bashrc ?
 
Old 08-23-2002, 10:20 PM   #3
tied2
Member
 
Registered: Jun 2002
Location: Florida
Distribution: Redhat, FreeBSD, FC 6
Posts: 220

Original Poster
Rep: Reputation: 30
No, how do I do that ?
 
Old 08-23-2002, 10:21 PM   #4
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
Just the same way you did for aliasing them, put these alias commands in there
 
Old 08-23-2002, 10:50 PM   #5
tied2
Member
 
Registered: Jun 2002
Location: Florida
Distribution: Redhat, FreeBSD, FC 6
Posts: 220

Original Poster
Rep: Reputation: 30
Ok thanks neo77777. You have answered alot of my posts and have always been helpful. Thanks again!
 
  


Reply



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 On
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
Another Newbie question....Alias tetpt Linux - Newbie 5 03-04-2005 10:58 AM
Noob question about an alias palmmjsg23 Linux - General 5 01-23-2004 09:31 PM
very newbie alias question ffang Linux - Newbie 4 09-04-2003 07:46 PM
Alias definition question Dark_Helmet Linux - General 5 02-04-2003 02:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:06 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
Open Source Consulting | Domain Registration