Hey guys. Just like in the title – I’m having some problems doing it. Basically, I want to create an alias in my enviromental file that would count recursively and display the number of all sub-directories of a working directory. Could someone provide me with adequate group of shell commands? I’m using Korn shell. Thank you in advance!
Share
should work. But don’t forget, that it skips directories for which you doesn’t have access rights.
HTH