Remove a Directory

$ ls
applebad.txt   bag.txt     list.txt  portfolio/
applegood.txt  basket.txt  net.txt   tin.txt     
$ rmdir portfolio
rmdir: portfolio: Directory not empty
$ cd portfolio
$ ls
pearbad.txt   sack.txt  list.txt   cup.txt
peargood.txt  pan.txt   pouch.txt
$ rm *
$ cd ..
$ rmdir portfolio
$ ls
applebad.txt   bag.txt        list.txt       tin.txt
applegood.txt  basket.txt     net.txt                           
$ 
Save this page to any social bookmarking site! Share · Search · Market · Directory
2015-11-01 · John December · Contact · Terms of Use © December Communications, Inc.