Bash - command is executing but do nothing without complaining

view full story

http://www.unix.com – Hello. This part of script do nothing but no complain. Here the directory content : Quote: /root /root/.ssh /root/.ssh/config ( owner root mode 700 ) /root/.ssh/list_user ( owner root mode 644 ) The script run by root Code: cd /root CMD="rmdir -p -v --ignore-fail-on-non-empty  .ssh" echo $CMD $CMD The ouput Code: linux:~/bin # ./test_05 rmdir -p -v --ignore-fail-on-non-empty .ssh rmdir: removing directory, `.ssh' linux:~/bin # ls /root/.ssh config  list_user linux:~/bin # (HowTos)