LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-12-2003, 01:04 PM   #1
jshaikh
LQ Newbie
 
Registered: Jun 2003
Location: Canada
Distribution: RedHat
Posts: 2

Rep: Reputation: 0
Question /usr/local folder contents accidently deleted


Hello I accidently deleted contents of my /usr/local directory. I wonder is there any way to recover/install it? If so, can someone tell me how? I did not install any new programs in that path.

And I wonder what was in that path.

I 'm running RH 9.0

Thanks
Jaffar
 
Old 07-12-2003, 01:55 PM   #2
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
By default, /usr/local contains the same directories as /usr (more or less).
That's it, only directories, no files. /usr/local is simply a location where you install your software or non-RPMs binaries.

If you didn't download and install new non-RPM software, there is nothing in that directory to worry about.
(Unless RedHat 9 installs something in /usr/local that I don't know about - My guess is NO).

If you want to recover deleted files, you should take a look at the Linux Ext2fs Undeletion mini-HOWTO
http://www.linux.org/docs/ldp/howto/...ndeletion.html

There are also other Similar Threads concerning recovery of deleted files.
Do a search in the forums for "Undelete".
 
  


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
cant modify /usr/local/bin folder surgey Linux - Newbie 4 05-10-2005 05:52 PM
"accidently deleted every program in /usr/bin that begins with the letter m*" behmjoe Linux From Scratch 1 04-15-2005 08:42 AM
/usr/local/include deleted.... HappyDude Fedora 5 11-02-2004 01:01 PM
I accidently deleted /udev folder, what can I do? QuickTime Mandriva 1 09-29-2004 06:00 AM
can't copy folder to usr/local ontwolf Linux - Hardware 5 04-23-2004 12:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:45 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