LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-22-2005, 09:23 AM   #1
pircio
LQ Newbie
 
Registered: Apr 2004
Distribution: Debian
Posts: 15

Rep: Reputation: 0
some help with LS


hi everyone

I've got an LS alias set up for the colorization and sort methods, but I would like 1 more thing...

in addition to the coloring, when I command LS, I want the directories to show up in brackets ... ex...

bash: /www# ls
[images]
[themes]
blah.txt
super.jpg
index.html

thanks in advance guys
 
Old 11-22-2005, 03:28 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
you mean you want it to look like dir?? i'm pretty darn sure it's not possible... can you explain why you'd want it to do this? maybe we can think of an alternative or something...
 
Old 11-23-2005, 07:16 AM   #3
pircio
LQ Newbie
 
Registered: Apr 2004
Distribution: Debian
Posts: 15

Original Poster
Rep: Reputation: 0
yeah I made my own shell-php script to do it
 
Old 11-23-2005, 04:54 PM   #4
number9
Member
 
Registered: Dec 2003
Location: Fresno
Distribution: Gentoo Ricer
Posts: 85

Rep: Reputation: 15
Would he necessarily have to make the change in the source of LS and recompile it?
 
  


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



LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:16 AM.

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