On Tuesday 18 October 2005 16:38, Carlos E. R. wrote:
The Tuesday 2005-10-18 at 14:37 +0100, Fergus Wilde wrote:
How can i erase this file (sen it to trash?).
$ cd
$ cd Desktop
$ su [give root password]
# rm -rf [name-of-your-directory]
Are you joking?
For a single file? As root? What if he mistypes and erases his whole disk?
-- Cheers, Carlos Robinson
Then he'd be a bit of doozie. The instructions will work just fine for erasing a directory, which is what he wanted to do. He'd be in /home/[him]/Desktop when he types rm, so he's going to have to type 'rm -rf / ' as a matter of policy in order to wipe the disk. With luck like that he's not going to live long enough to worry about his disk. -- Fergus Wilde Chetham's Library Long Millgate Manchester M3 1SB UK Tel: 0161 834 7961 Fax: 0161 839 5797 http://www.chethams.org.uk