Re: ls lacking a feature?



"Mark P" <usenet@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:5xDog.109908$H71.32769@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
William wrote:

find * -type d -prune

Without the -prune it will show subdirectories too.

-Wm



Another option: -maxdepth 1

Not for me it isn't :-)

Gives a bad option error on my Solaris and AIX machines.

-Wm


.



Relevant Pages

  • Re: Inheriting group ownership under Red Hat Linux?
    ... > I've seen it on Solaris and Irix. ... I have run into that in Solaris. ... IIRC, the 2nnn only works on files in the ... subdirectories are user's group. ...
    (RedHat)
  • find command on solaris, dont descend directory
    ... Hola - First of all, I'm using Solaris 8. ... to descend into subdirectories. ... solaris find command without descending into subdirectories? ...
    (comp.unix.shell)
  • Re: Fastest find
    ... I need find kiwi.fdl in all subdirectories: ... solaris> find ./ -name kiwi.fdl ... Solaris system spent 16 seconds to make this task, ... Love makes fools, marriage cuckolds, and patriotism malevolent imbeciles. ...
    (comp.unix.shell)