![]() |
how to remove files from /home/user...?
Hey guys...
I used 7z without being too knowledgeable on how to use it and accidentally unzipped a file to to /home/user and now I have no idea how access it through x terminal or anything else... Could someone please instruct me how to get the file deleted? Thanks |
Re: how to remove files from /home/user...?
If you open the XTerminal, you're in /home/user. To see all files do
Code:
ls -al Code:
rm <filename> |
Re: how to remove files from /home/user...?
Download from extras-devel mc(Midnight Commander)
Type to x term sudo gainroot, then type mc and you can get into home/user |
Re: how to remove files from /home/user...?
Thanks!
=) |
Re: how to remove files from /home/user...?
Be aware that rm (short for ReMove, makes it easier to remember) comes with the safety off:
- You will not be prevented from deleting important files if you have the filesystem permissions. - There is no garbage can, once it's deleted it can't be easily recovered, if at all. - Be careful if the filename includes spaces of special characters especially "*". If you try to delete a file named "copy of important.txt" you'll easily end up trying to delete three files, called "copy" "of" and "important.txt" and it will delete "important.txt" even if it can't find the others. |
Re: how to remove files from /home/user...?
Quote:
Others are that the output of ls is messed up and various legacy scripts get broken, and new scripts by new programmers who have not yet learned all the ins and outs of programming. |
All times are GMT. The time now is 11:58. |
vBulletin® Version 3.8.8