Link to home
Start Free TrialLog in
Avatar of Tom211
Tom211

asked on

remove not emty directory in Ubuntu

I try to remove directory in Ubuntu with the command
rmdir

with out success.

I got the message "error directory is not empty".
What command to use to delete not empty directory???????  

Avatar of donciakas
donciakas
Flag of Lithuania image

to remove the directory type: rm -R /directory/you/want/to/remove
ASKER CERTIFIED SOLUTION
Avatar of donciakas
donciakas
Flag of Lithuania image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
rm -rf /the/directory
and, always : "man a_command" to read the documentation
like : man rm