LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] displaying directory listings

[ILUG] displaying directory listings

Éibhear eibhear.geo at yahoo.com
Mon Jul 25 11:38:44 IST 2005


Darragh said:
> is there an arguement that I
> can
> use with ls or another command to show a directory list in one columb?
> i.e.
> I don't want more than one file or directory per line.

ls -1

>
> Finally I'd like to know how to space listings so if a file name was less
> than 40 characters another file or directry name was shown in the next 40
> chunk.

Dunno.

>
> I'd also like to give directorys a different starting character instead of
> having the color change as although brltty can distinguish this its kind
> of
> confusing me.

ls --color=never -F

This actually puts the character at the end of the name of the directory,
and also puts different characters at the end of other file types:
'/':  directories
'*':  executable files
'@':  soft links
etc.


Éibhear


-- 
Éibhear Ó hAnluain
Gibiris.org
Dublin
Ireland



More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell