A friend of mine has a stubborn preference pane that refuses to be deleted... even if i change permissions...
how do i delete something via the terminal?</strong><hr></blockquote>
rm filename
rm -rf dirname
if you don't have enough permissions to delete the file, let root do it:
sudo rm filename
sudo rm -r dirname
(you have to enter your administrator password. "enabling the root account" is not required. be warned, this is dangerous if you don't know what you're doing)
You should learn how to use the terminal, at least some basic actions like navigating, moving files, starting programs etc.
How to delete a item owned by root though Terminal For Dummies: ("Dummies" Read "Mac people that have never gone beyond Aqua)
Step 1. Login as Root if possible. However, these steps will work in any login account that has access to Terminal.
Step 2. Open Terminal, and type sudo rm -r and then hit space. Do not press return.
Step 3. Drag the file's icon into the terminal window(if possible) or enter its path. Press return.
Step 4. You will be prompted to type in your password. Warning: When you are typing in your password, you won't see any "****" characters as you do normally while entering a password.
Step 5. Press return. The file should be deleted without complaint.
I have deleted many files in this manner, including the Setup Assistant, that the computer says "can not be deleted." Yeah right.
Comments
-OR-
log in as root
more details please,
thanks
there is a panel or something for privledges and permissions
change who it is owned by...u may have to click the lock if its locked
then it willprobably ask u for u admin password, type it in and ur set
<strong>click on file command+i
there is a panel or something for privledges and permissions
change who it is owned by...u may have to click the lock if its locked
then it willprobably ask u for u admin password, type it in and ur set</strong><hr></blockquote>
what if that doesn't work?
A friend of mine has a stubborn preference pane that refuses to be deleted... even if i change permissions...
how do i delete something via the terminal?
<strong>
what if that doesn't work?
A friend of mine has a stubborn preference pane that refuses to be deleted... even if i change permissions...
how do i delete something via the terminal?</strong><hr></blockquote>
rm filename
rm -rf dirname
if you don't have enough permissions to delete the file, let root do it:
sudo rm filename
sudo rm -r dirname
(you have to enter your administrator password. "enabling the root account" is not required. be warned, this is dangerous if you don't know what you're doing)
You should learn how to use the terminal, at least some basic actions like navigating, moving files, starting programs etc.
sudo rm -rf /
(should get rid of the file though <img src="graemlins/lol.gif" border="0" alt="[Laughing]" /> )
Step 1. Login as Root if possible. However, these steps will work in any login account that has access to Terminal.
Step 2. Open Terminal, and type sudo rm -r and then hit space. Do not press return.
Step 3. Drag the file's icon into the terminal window(if possible) or enter its path. Press return.
Step 4. You will be prompted to type in your password. Warning: When you are typing in your password, you won't see any "****" characters as you do normally while entering a password.
Step 5. Press return. The file should be deleted without complaint.
I have deleted many files in this manner, including the Setup Assistant, that the computer says "can not be deleted." Yeah right.
[ 03-08-2003: Message edited by: os10geek ]</p>