So, I'm sitting here trying to start an assignment and have no idea where to start.

Implement a UNIX shell program (ld) that will list only directories in the directories on the command line. A command with no arguments assumes the current directory.

Anyone know how to do this?