You don't need to log in as root to do that. Remeber that just logging in when you're root can cause damage. This is because X can send parametres that can damage the system. This is why most distros won't even let you run a graphical text editor as root, yet alone log in as root.
To move things, exectute the following commands:
Code:
mv /old_location/your_file /new_location
or, if it's a directory:
Code:
mv -r /old_location/your_directory /new_location/
Alternatively, you can copy then remove. I prefer this because if you make a mistake you can rectify later:
To copy a file: Code:
cp /old_location/your_file /new_location
To remove a file: Quote:
|
rm /old_location/your_file
|
To copy a directory: Code:
cp -r /old_location/your_directory /new_location
To remove a directory Code:
rm -r /old_location/your_directory
You can only execute these commands as root - failure to do so will result in a permissions error.
Double check before you press enter that you haven't made a mistake - especially when deleting - you won't be asked "Are you sure?" Probably the safest way to do this, at this stage, is to drag and drop the file or directory into the console. Konsole (the default Kde terminal) gives you some choices when you do this, including pasting only, copying and moving.
Don't get into the habit of logging into root - even to do temporary or important tasks like this one. If you do, you'll do it again and again, and one day you'll have a problem. Note also that one of the reasons (but not the only reason) why Linux and other Unix OSs are more secure than Windows is because these systems have a separate root account for admin tasks, whereas in Windows most people are permanently working as administrations