Sykora
I see right through you.
- Joined
- Sep 10, 2005
- Messages
- 594
Is there any way to make the ls command display directories first, then the files? I tried the ls -X switch, and while this puts the directories first, it groups the rest of the fiels by extension, something I don't really want. I want the firectories to be in alphabetical order, followed by the rest of the files, also in alphabetical order Is there a way, by aliases or shell scripts? I'm a bit rusty on shell scripting so I thought I'd ask for help.
--
As a sidenote, I think the digit forums should open a new sub-forum for programming related questions.
--
As a sidenote, I think the digit forums should open a new sub-forum for programming related questions.