Sometimes, we note that we have unused nested containers (directories) .
For example :
mkdir -p ~/grandpa/pa;
pa directory is the only file existed on
Hence, all files of
pa should be moved to
pa will be deleted.
My question is there is a built-in command line do such a mission: