![]() |
2010-04-25
, 17:56
|
Posts: 726 |
Thanked: 345 times |
Joined on Apr 2010
@ Sweden
|
#2
|
ls -al
rm <filename>
The Following User Says Thank You to Joorin For This Useful Post: | ||
![]() |
2010-04-25
, 17:59
|
Posts: 43 |
Thanked: 4 times |
Joined on Mar 2010
@ Czech
|
#3
|
![]() |
2010-04-25
, 18:07
|
Posts: 86 |
Thanked: 199 times |
Joined on Apr 2010
|
#5
|
![]() |
2010-04-25
, 18:28
|
Posts: 486 |
Thanked: 251 times |
Joined on Oct 2009
|
#6
|
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.
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