Eliminar Carpeta o Directorio en Linux.
Muchas veces hemos tenido la necesidad de liberar espacio en el disco duro del servidor o del equipo. O simplemente eliminar una carpeta o directorio pero esta tiene contenido y no nos deja eliminarla.
Comandos
El comando que debemos utilizar para eliminar un directorio en Linux es rmdir.
Este comando nos sirve eliminar un directorio especifico, siempre y cuando este no tenga subdirectorios en su interior.
Se debe indicar la ruta del directorio completa desde la raíz y además podemos usar sudo para evitar inconvenientes de permisos.
El comando es el siguiente:
En este ejemplo vemos como podemos eliminar un directorio utilizando la ruta de raíz y sudo para evitar inconvenientes de permisos.
Tenga en cuanta que si el directorio contiene archivos o subdirectorios con el comando rmdir no lo eliminará.
En este caso puedes utilizar el siguiente comando rm -r.
En este ejemplo vemos como podemos eliminar un directorio y su contenido, no importa si este directorio tiene mas subdirectorios o archivos en su interior.
Advertencia
Los directorios eliminados con el comando rmdir no pueden restaurarse, igual que sucede con los directorios y su contenido eliminados con el comando rm -r.
Ciclo While con PHP
Como hacer una iteración con While en PHP. Ver mas...
Ciclo Do While PHP
Como hacer una iteración con While en PHP. Ver mas...
Ciclo Do While PHP
Como hacer una iteración con While en PHP. Ver mas...
Ciclo Do While PHP
Como hacer una iteración con While en PHP. Ver mas...
Helpful information. Lucky me I found your website by accident, and I am shocked why this accident did not came about earlier! I bookmarked it. Lorelei Drew Gitel
Great article! We will be linking to this particularly great content on our site. Keep up the good writing. Delores Gaspar McClees
Really informative article. Much thanks again. Much obliged. Olivie Fair Joerg
Wow, this paragraph is good, my sister is analyzing these kinds of things, therefore I am going to tell her. Lari Hubie Doane
Tout cela envahit le monde, comme une force de vie. Sandie Linus Ondrej
Thanks so much for the post. Much thanks again. Really Cool. Danni Asa Cunningham
Also wenn das der Fortschritt von 7 Jahren ist, dann empfinde ich das eher als Armutszeugnis. Jeanie Marmaduke Bamby
We are actually will swiftly and also successfully generate a warranty Premium renovation New York. Lynde Haydon Wellesley
As the admin of this website is working, no doubt very rapidly it will be famous, due to its feature contents. Annnora Willard Budde
Im obliged for the article. Really thank you! Much obliged. Sharia North Destinee
Looking at the fireplace picture very nice design overall. Tawnya Felizio Meghann
Everything is very open with a very clear clarification of the issues. It was really informative. Your site is very helpful. Thank you for sharing. Juline Murdock Hennahane
Wonderful experience. We enlisted their services to assist us in getting the license for our hotel. Bobbette Zebedee Dixon
Some genuinely nice and useful info on this web site, as well I think the design holds excellent features. Tabbi Maurits Traci
You should be a part of a contest for one of the greatest blogs on the net. Gnni Tades Weissberg
Please take a look at the internet sites we stick to, including this one, as it represents our picks in the web. Codi Frederik Thor
Hello very cool website!! Guy .. Excellent .. Superb .. Kiersten Felike Raoul
Nice respond in return of this question with genuine arguments and explaining the whole thing regarding that. Franky Verge Brita
Some genuinely fantastic blog posts on this internet site , appreciate it for contribution. Phylys Paxton Kalagher
When some one searches for his vital thing, therefore he/she needs to be available that in detail, thus that thing is maintained over here. Bobina Hillyer Gardie
We are a bunch of volunteers and starting a brand new scheme in our community. Melloney Briano Gannes
When planning Interior renovators New york city or General building New york city, experienced experts and proven structure products are chosen. Jo Royce Orvan
Obtaining fake followers is a great way to increase your numbers remarkably in the shortest amount of time possible. Benedetta Reed Kersten
Hey this is kinda of off topic but I was wanting to know if blogs use WYSIWYG editors or if you have to manually code with HTML. Matilde Agustin Belsky
This is my first time visit at here and i am genuinely impressed to read everthing at alone place. Klarrisa Cazzie Feinberg
whoah this weblog is fantastic i like reading your posts. Lark Beltran Lucie
Excellent article! We will be linking to this great article on our site. Keep up the great writing. Jada Clerc Moreen
I precisely needed to thank you very much once again. I am not sure what I might have gone through without the entire opinions shown by you regarding such a area of interest. It had been a troublesome difficulty in my circumstances, but considering a new specialised strategy you resolved the issue made me to leap over happiness. I will be grateful for your advice and as well , hope you comprehend what a great job you have been putting in educating men and women with the aid of your website. More than likely you have never encountered any of us. Hilary Shell Arquit
Great article. I am facing many of these issues as well.. Nicoli Werner Lotson
Hello there, just became aware of your blog through Google, and found that it is really informative. Cornelia Justin Beitch
I am so happy to read this. This is the type of manual that needs to be given and not the accidental misinformation that is at the other blogs. Appreciate your sharing this greatest doc. Claudie Olivero Gordy
IE still is the marketplace chief and a large portion of other people will leave out Carlene Ariel Trelu
Do you have a spam issue on this site; I also am a blogger, and I was curious about your situation; many of us have developed some nice practices and we are looking to exchange strategies with others, please shoot me an e-mail if interested.| Terrijo Lewes Kerrie
Hi, Neat post. There is an issue together with your web site in internet explorer, may check this… IE nonetheless is the market leader and a large part of people will miss your great writing because of this problem.
It’s not my first time to go to see this site, i am visiting this web site dailly and
get nice information from here all the time.
If you are going for best contents like I do, simply pay a visit this
website daily because it gives quality contents, thanks