7

linux "find" command

view full story
linux-howto

http://stackoverflow.com – I have a problem with a bash script. I have something like this: find /home -mindepth 1 -maxdepth 1 -not -empty -type d | sort and the output is like : /home/dir1 /home/dir2 I want the output to be : dir1 dir2 (HowTos)