folder permissions...

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Husse

Post by Husse »

Why do you want to delete a folder not in your /home?
Normally you should not do that...

Code: Select all

sudo rm /path_to_your_folder/your_folder
Don't do this unless you are sure you can delete the folder!
//edit//After Boo's post I see the typo - rmdir not rm :)/
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
Boo
Level 7
Level 7
Posts: 1633
Joined: Mon Mar 26, 2007 7:48 am

Post by Boo »

the commands are

rmdir /path/to/directory

if the folder is not empty use.

rm -rf /path/to/file_or_dir

use sudo if you really want to get rid of stuff.

but you are warned one wrong move and you system is gone. :twisted:

:D
Image
Now where was i going? Oh yes, crazy!
Locked

Return to “Beginner Questions”