You are not logged in.

#1 2011-06-22 10:42:12

hermanningjaldsson
Member
From: Scandinavia
Registered: 2011-06-22
Posts: 31
Website

ls improved

I have just written a script which allows for a better ls command.
It is available here: http://hermanningjaldsson.com/unix/ll/

How can i get this snippet to the greatest possible use for the Linux community?

Last edited by hermanningjaldsson (2011-06-22 10:51:35)

Offline

#2 2011-06-22 11:05:39

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: ls improved

'du -sh' does something similar to your app and I don't use ls anyway

[karol@black ~]$ type l
l is aliased to `ls -Aog -h --group-directories-first --color'

Offline

#3 2011-06-22 11:08:57

hermanningjaldsson
Member
From: Scandinavia
Registered: 2011-06-22
Posts: 31
Website

Re: ls improved

i have kubuntu 8.04 and for me du -hs just makes the system pause.

p.s. i will be trying arch soon.

Last edited by hermanningjaldsson (2011-06-22 11:09:57)

Offline

#4 2011-06-22 11:22:33

lchr
Member
From: Denmark
Registered: 2011-05-10
Posts: 38
Website

Re: ls improved

I find all the output from ls -l useful, as I am sure most Arch users do. If I just need the filenames, ls without options does the trick.

But your contribution is of course most welcome, and I hope it finds an audience. Good luck!

Offline

#5 2011-06-22 11:47:44

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: ls improved

There is also ls++ (AUR).


ᶘ ᵒᴥᵒᶅ

Offline

#6 2011-06-23 15:58:13

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: ls improved

Two requests:

1. Support for dircolors.

2. Allow setting of a path. For example ll /etc/ does not work.

Offline

#7 2011-06-24 06:25:51

hermanningjaldsson
Member
From: Scandinavia
Registered: 2011-06-22
Posts: 31
Website

Re: ls improved

1, what are dircolors?
the colors arent the same on arch?

2. ill put that on my todo list.

Offline

#8 2011-06-24 13:49:46

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: ls improved

Dircolors allows colors to be specified for files/folders and what not. Try it:

http://ubuntuforums.org/showpost.php?p= … ostcount=3

Offline

Board footer

Powered by FluxBB