LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Used alias command for ll and now ll is not recognized. (https://www.linuxquestions.org/questions/linux-newbie-8/used-alias-command-for-ll-and-now-ll-is-not-recognized-848143/)

greent 12-03-2010 08:19 AM

Used alias command for ll and now ll is not recognized.
 
I used the alias command to make ll be ll -lrt. I have linux 5 and using the bash shell. now I can't even use ll, only ls. when I go into the bin directory, ll is not in the list and the normal color codes for bash are not showing either...folders blue, etc.

Thanks for your help.

grail 12-03-2010 08:27 AM

Please show exact entry for the alias?

jschiwal 12-03-2010 08:29 AM

ll was already an alias. You redefined it without the ls command.

was
alias ll='ls -l'

Try
alias ll='ls -lrt'

greent 12-03-2010 08:42 AM

Thanks! I didn't realize that. That is working now. Any idea why the colors that bash shell creates aren't happening any more? Meaning where folders are blue, etc.?

greent 12-03-2010 10:12 AM

I got the color coding back after relaunching putty! Thanks for helping with my messed up morning!


All times are GMT -5. The time now is 07:54 AM.