LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 04-28-2005, 10:24 AM   #1
p41elvis
Member
 
Registered: Apr 2004
Location: Rotterdam
Distribution: Mandriva 2006 Community Edition
Posts: 62

Rep: Reputation: 15
alias problem


Hello everybody,

I'm probably making some stupid mistake, but I can't get the alias thingie to work. This is what happens:
Quote:
[jethro@laptop jethro]$ alias lla 'ls -la'
bash: alias: lla: not found
bash: alias: ls -la: not found
I figured uit that I can put the alias line in .bash_profile, but I have to make it work first.

Best regards,
Jethro

PS. I'm using Mandrake.
 
Old 04-28-2005, 10:28 AM   #2
p41elvis
Member
 
Registered: Apr 2004
Location: Rotterdam
Distribution: Mandriva 2006 Community Edition
Posts: 62

Original Poster
Rep: Reputation: 15
Nevermind, right after the post I found the anwser: it's supposed to be [B}alias lla='ls -la'[/B]. I've put the line in .bashrc and it's working fine now.
 
  


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 12:40 AM
Problem with Alias in Ksh tomcharnock Linux - Newbie 1 05-18-2005 11:59 PM
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
alias problem petarsabev Slackware 1 10-12-2003 02:40 PM


All times are GMT -5. The time now is 05:38 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