LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-10-2004, 07:19 AM   #1
ICO
Member
 
Registered: Aug 2003
Location: ~/.
Distribution: CentOS
Posts: 290

Rep: Reputation: 30
I accidently deleted the lib directory


I don't have ls command, shutdown etc.

What should I do?

Do I have to re-install?

oh, god!

I want to cry.

btw: my command is like this:

rm -r lib

can I restore it?

Last edited by ICO; 02-10-2004 at 07:23 AM.
 
Old 02-10-2004, 12:35 PM   #2
salparadise
Senior Member
 
Registered: Nov 2002
Location: Birmingham UK
Distribution: Various
Posts: 1,736

Rep: Reputation: 146Reputation: 146
this is from the man pages for the "rm" command

Note that if you use rm to remove a file, it is usually possible to
recover the contents of that file. If you want more assurance that the
contents are truly unrecoverable, consider using shred.

http://web.zdnet.com.au/builder/prog...0276636,00.htm

this might help
 
Old 02-10-2004, 12:40 PM   #3
salparadise
Senior Member
 
Registered: Nov 2002
Location: Birmingham UK
Distribution: Various
Posts: 1,736

Rep: Reputation: 146Reputation: 146
oops
i just noticed that the link leads to a program you install to prevent accidental deletions being lost forever
a bit late now...

sorry
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I accidently deleted /udev folder, what can I do? QuickTime Mandriva 1 09-29-2004 06:00 AM
accidently deleted /boot partition :( aditya_ic Linux - General 7 07-29-2004 02:37 AM
Accidently deleted GLIBC, any help for SuSE? Raj_Nair Linux - Distributions 0 06-30-2004 10:42 AM
Help: Accidently deleted file patske Linux - Newbie 5 02-17-2004 09:34 AM
write permissions for directory - not accidently move/deleted the directory linuxgamer Linux - Newbie 10 12-02-2003 03:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration