Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • find Test -type d -name '???' -- this command finding 3 character sub directory for each sub directory. i'm looking sub directories list which is having 3 character next to the /test directory Commented Jan 3, 2019 at 10:29
  • @KannanManokaran Are you saying that using -type d returns non-directories? Commented Jan 3, 2019 at 10:30
  • no. it is giving sub directories only..i'm doing this on Linux, something i want to do it on AIX Commented Jan 3, 2019 at 10:39
  • If AIX find supported -maxdepth, then the OP's code would work there. Commented Jan 3, 2019 at 11:36