this command lists the “not hidden” directories and files:
du -sh *
this one lists only directories, including the hidden ones:
find -maxdepth 1 -type d -exec du -sh {} \;
tested on linux – bsd syntax may be different
this command lists the “not hidden” directories and files:
du -sh *
this one lists only directories, including the hidden ones:
find -maxdepth 1 -type d -exec du -sh {} \;
tested on linux – bsd syntax may be different