According to johnd, > I saw someone do a command to just show directories with a really short command > only using ls... > > not using grep or awk > > anyone know how to do this? I can meet your first condition but not your second. find -type d -maxdepth 1