LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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, 09: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, 09:27 AM   #2
grail
LQ Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 9,245

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

Rep: Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670
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, 09: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, 11: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


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
tar command alias command rlg Linux - Newbie 0 03-11-2008 08:21 AM
directory for alias command ernestk Linux - Server 1 08-30-2007 06:56 PM
Creating Command Alias? carlosinfl Linux - General 3 07-14-2007 06:32 PM
Use for the alias command Metablade Linux - Newbie 4 10-12-2005 06:44 PM
alias command zeviddalop Linux - Newbie 3 01-12-2005 10:59 PM


All times are GMT -5. The time now is 04:14 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration