On Mon, Jul 25, 2005 at 11:01:22AM +0100, Darragh wrote:
> Hello,
Hi,
Darragh, - just so you know, it's usually considered impolite to
reply to a thread with an active discussion and change the subject and
entire email contents (it messes up threaded based mail readers).
Anyways ...
> this is probably a very basic question but 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
(that's the number one)
of course - "man ls" would have told you that !
> 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.
>> 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.
> Thanks
both of these options are available - and should be obvious through
reading of man ls.
For the colour-changing stuff - look at "ls --color" - your terminal
type settings should tell ls to use colour, or indeed to use "note"
characters (* for executables, / for directories etc), these usually
trail the filenames though.
Hope this helps some !
P
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!