LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   alias problem (https://www.linuxquestions.org/questions/linux-newbie-8/alias-problem-318085/)

p41elvis 04-28-2005 10:24 AM

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.

p41elvis 04-28-2005 10:28 AM

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.


All times are GMT -5. The time now is 05:27 PM.