The file can't only not be deleted but also not moved, so dragging it into the terminal doesn't work....
You need to use the sudo command with rm.
Yes, that's right, unless you don't have rights to the file you are trying to remove. That's why I suggested running rm with sudo.RM can be used without sudo, and even runs from non-administrator accounts.
That doesn't make sense, because drag and drop into Terminal does nothing but paste the file's path into the command prompt. It doesn't manipulate the file itself in any way. Something else is hinky here, or you aren't doing the drag and drop correctly somehow.That doesn't work because wat i meant by move also meant paste or modify in any way, any other suggestions?
That doesn't work because wat i meant by move also meant paste or modify in any way, any other suggestions?
That doesn't work because wat i meant by move also meant paste or modify in any way, any other suggestions?
there is no RM command. Unix is case sensitive
Entering the command in upper-case letters in the Terminal works just fine (although you can't pull up a man page on "RM", just on "rm", so I guess you're at least halfway right). I usually do enter the command in lower-case anyhow, but I guess the system is smart enough to resolve the command even if it's entered in upper-case.
sudo rm -rf <filename> or <directory>
cd
ls
where exactly is this file located on your hard drive?
There are only thing that why the command isn't working in the commandline is because you probably not in the right directory path where the file is exactly located on your hardrive in commandline. It other words...you open up the terminal commandline and the directory path the terminal commandline start from is your home directory. If the this file is not located in your home directory and tried you remove it in the home directory you won't be able to remove it because the file doesn't exist in that particular directory. You have to use thecommand to change directory to another directory where this file is located. Your just drag in the terminal which all it does as already aforementioned all it going to is give you the path.Code:cd