Tagged Questions
1
vote
3answers
73 views
ls command - define number of columns
Is there a way to define the number of columns in ls output?
I got this far: ls -C sorts in columns and ls -1 produces one column. --tabsize = option to produce two columns resulted in what looks ...
4
votes
3answers
108 views
How can I display octal notation of permissions with ls - and can octal represent all permissions? [duplicate]
After looking at the man page for ls on my system and searching Google, I see there IS a hack of way to use awk or perl to show octal permissions when using ls, but with bash is there anything more ...
8
votes
2answers
377 views
What is the point of ls -f (or, why is this hanging?)
I've got a directory with about 100,000 files in it. ls -f hangs for over a minute. I ran strace, and immediately started seeing getdents, so ls is clearly reading the directory. I also see a lot ...
