LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 12-03-2010, 08:19 AM   #1
greent
LQ Newbie
 
Registered: Jan 2009
Posts: 3

Rep: Reputation: 0
Unhappy 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.
 
Old 12-03-2010, 08:27 AM   #2
grail
LQ Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 10,007

Rep: Reputation: 3192Reputation: 3192Reputation: 3192Reputation: 3192Reputation: 3192Reputation: 3192Reputation: 3192Reputation: 3192Reputation: 3192Reputation: 3192Reputation: 3192
Please show exact entry for the alias?
 
Old 12-03-2010, 08:29 AM   #3
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
ll was already an alias. You redefined it without the ls command.

was
alias ll='ls -l'

Try
alias ll='ls -lrt'
 
Old 12-03-2010, 08:42 AM   #4
greent
LQ Newbie
 
Registered: Jan 2009
Posts: 3

Original Poster
Rep: Reputation: 0
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.?
 
Old 12-03-2010, 10:12 AM   #5
greent
LQ Newbie
 
Registered: Jan 2009
Posts: 3

Original Poster
Rep: Reputation: 0
I got the color coding back after relaunching putty! Thanks for helping with my messed up morning!
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
tar command alias command rlg Linux - Newbie 0 03-11-2008 07:21 AM
directory for alias command ernestk Linux - Server 1 08-30-2007 05:56 PM
Creating Command Alias? carlosinfl Linux - General 3 07-14-2007 05:32 PM
Use for the alias command Metablade Linux - Newbie 4 10-12-2005 05:44 PM
alias command zeviddalop Linux - Newbie 3 01-12-2005 09:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:26 PM.

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