Results 1 to 10 of 21
hi all,
I'm accessing the server using the ssh command and i had use the "rm" command to delete a file, and i would to know how can i access ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 12-16-2005 #1Linux Newbie
- Join Date
- Dec 2005
- Location
- Singapore
- Posts
- 234
Trash
hi all,
I'm accessing the server using the ssh command and i had use the "rm" command to delete a file, and i would to know how can i access to the trash to view the deleted files?Proper Planing is a way of success
- 12-16-2005 #2
I may be wrong, but I'm fairly sure that 'rm' removes or deletes the file permanently. Unlike Windows, in Linux, 'delete' is like herpes. It's forever... To see what is in your trash, you'll likely find it in your home directory as a hidden file - .Trash. cd to it and have a look...
- 12-16-2005 #3Linux Newbie
- Join Date
- Dec 2005
- Location
- Singapore
- Posts
- 234
By following ur command this is the error that i get
Originally Posted by Dapper Dan
- .Trash. cd
-bash: -: command not foundProper Planing is a way of success
- 12-16-2005 #4forum.guy
- Join Date
- May 2004
- Location
- arch linux
- Posts
- 18,733
Here's a couple good websites for you to use in studying Linux commands:
Originally Posted by thcc2
http://www.ss64.com/bash/index.html
http://www.linuxdevcenter.com/linux/cmd/
- 12-16-2005 #5I think you misunderstood what DapperDan was saying. He meant that the deleted files may be in a hidden file called .Trash (the dot in front of the word is important). So use "cd" to go to that directory and see if anything is in it.
Originally Posted by thcc2
In other words,Do this from your home directory.Code:cd .Trash
Registered Linux user #388328 || Registered LFS user #15880
AMD 64 X2 4600+ :: 2X1GB DDR2 800 :: GeForce 9400 GT 512MB :: ASUS M2N32 Deluxe :: 4X250GB SATAII
Need instant help? Try us on IRC -- #linuxforums on freenode
- 12-16-2005 #6Linux Newbie
- Join Date
- Dec 2005
- Location
- Singapore
- Posts
- 234
i got it already, if no trash exits, that means the file was remove permanently after the rm command is executed
Originally Posted by smolloy
Proper Planing is a way of success
- 12-16-2005 #7Yup. All gone. Forever.
Originally Posted by thcc2 Registered Linux user #388328 || Registered LFS user #15880
AMD 64 X2 4600+ :: 2X1GB DDR2 800 :: GeForce 9400 GT 512MB :: ASUS M2N32 Deluxe :: 4X250GB SATAII
Need instant help? Try us on IRC -- #linuxforums on freenode
- 12-16-2005 #8Linux Newbie
- Join Date
- Dec 2005
- Location
- Singapore
- Posts
- 234
that for ur url, i try to learn it, but sometimes i don't what parameters to put in
Originally Posted by ozar Proper Planing is a way of success
- 12-16-2005 #9Linux Newbie
- Join Date
- Dec 2005
- Location
- Singapore
- Posts
- 234
Originally Posted by smolloy
is never ask for confirmation before delete
Proper Planing is a way of success
- 12-16-2005 #10Linux User
- Join Date
- Sep 2003
- Posts
- 254
A good thing to do before a rm is: think, think read the man and think. Then personnally as I'm sometimes doing lot of things in the same time I just add the i option it gives:
Originally Posted by thcc2
Code:# rm -i docoutils.zip remove docoutils.zip?


Reply With Quote
