Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

How to remove a non empty directory

//remove a non empty directory
rm -r dir1

//remove a directory within directory without being promopted
rm -rf dir1
Comment

Delete non empty folder

rm -Rf
Comment

remove a non empty directory

sudo rm -R [Directory name]
Comment

PREVIOUS NEXT
Code Example
Shell :: virtualbox kernel driver not installed ubuntu 
Shell :: git go back a commit 
Shell :: windows edit file cmd 
Shell :: grant all the permission to the user ubuntu 
Shell :: sudo doesnt work on windows 
Shell :: how to connect to heroku app using git remotely 
Shell :: enable virtualization mac pro 
Shell :: install docker ubuntu 
Shell :: how to remove a non empty directory in linux 
Shell :: download clamav ubuntu 20 
Shell :: How to use Github Personal Access Token in Jenkins 
Shell :: git push submodules all 
Shell :: install aws cli on windows 
Shell :: git rename 
Shell :: eslint-plugin-react-hooks 
Shell :: download calibre ubuntu 
Shell :: install docker in kali linux 
Shell :: git show list of stashes 
Shell :: cat eof 
Shell :: ubuntu install composer 
Shell :: git force push to remote 
Shell :: prettier install using npm 
Shell :: ubuntu permission all file in folder 
Shell :: how to install dependencies from package.json 
Shell :: git set editor 
Shell :: terminal get size of file 
Shell :: Google Chrome freeze uploading a file ubuntu 22.04 
Shell :: docker desktop kubernetes dashboard 
Shell :: WSL connect docker daemon to docker for windows 
Shell :: firewall-cmd add service 
ADD CONTENT
Topic
Content
Source link
Name
9+8 =