remove folder and contents linux
rm -rf /path/to/directory/*
rm filename
# or add -rf if you don't want to see confirm# Remove Single File Using rm:
rm file1.txt
# Remove Directory and it's contents:
rm -r dir1 # '-r' is short for '-recursive'
# Remove empty Directory:
rm -d dir1 # '-d' is short for '-dir'rm -R -- */$ find /start/search/from/this/dir -name "dirname-to-delete" -type d -exec /bin/rm -rf {} +
Also in C++:
- shell script to reindex elasticsearch
- add ssh to github
- vmware unable edit
- open pycharm from terminal
- rename a running docker container
- bash how to create directories in all subdirectories
- npm install aos
- linux ping options
- how to uninstall lamp server in ubuntu 18.04
- how to create a zip in ubuntu
- ubuntu fix wrong lsb_release
- pwa install
- aws ec2 "ubuntu" "sudo yum install nginx" "No package ngix available."
- tr replace char for
- upgrade grails 2 to 3 transactional
- how to uninstall opencv in ubuntu
- git command to refresh remote branches
- ubuntu bluetooth not working
- omni github
- install @ng-bootstrap/[email protected]
- git log with numbers
- how to install django on windows
- how to install npm packages globally
- install nose