Horje
how to delete a non empty directory in linux Code Example
how to delete a non empty directory in linux
1. To recursively delete use

$ rm -r dirname

2.To forcefully delete use

$ rm -rf dirname
rmdir directory not empty
To remove(delete) a directory use:
rmdir *directory name* 
e.g: rmdir "my directory"

To remove a non-empty directory use:
rm -r *directory name*
e.g: rm -r "my non-empty directory"


Use "" when your directory path (absolute or relative) or name contains spaces
how to remove a non empty directory in linux
rm -rf dirname
remove a non empty directory
sudo rm -R [Directory name]




Shell

Related
pip-compile install Code Example pip-compile install Code Example
git reset branch Code Example git reset branch Code Example
ubuntu show line in file containing text Code Example ubuntu show line in file containing text Code Example
show public ip ubuntu Code Example show public ip ubuntu Code Example
how to open gedit using terminal Code Example how to open gedit using terminal Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
8