Register a domain and help support LQ
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 07-12-2003, 02:04 PM   #1
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

Old 07-12-2003, 02:55 PM   #2
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

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


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

All times are GMT -5. The time now is 03:44 PM.

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