Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

One thing that you can do is ls what you want to delete and then do a ^ls^rm -rf to replace ls with rm -rf in the last command if satisfied.

you can even do a ls -rf ./somedirectory and then just do ^ls^rm at least you can in bash on os x.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: