The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Using camcorder tapes to back up files iBot UNIX and Linux RSS News 0 12-20-2007 12:20 PM
IPMP setup removed, comes back with reboot jackiea SUN Solaris 2 11-06-2007 12:18 AM
Can I back up all the files I work with each day using tar? jo calamine Filesystems, Disks and Memory 2 10-01-2006 05:35 PM
recovering files removed with rm jack1981 UNIX for Dummies Questions & Answers 4 09-15-2006 07:06 AM
Will Old Files Be Removed sunsation UNIX for Dummies Questions & Answers 5 06-27-2005 12:24 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 07-23-2001
Reza Nazarian Reza Nazarian is offline
Registered User
  
 

Join Date: Jun 2001
Location: Tehran, Iran
Posts: 61
Unhappy Bring back removed files

Dear People
I have removed some of my files and directories( by using rm and rmdir commands) by mistake. I wish to bring them back. How is it possible?( I am using solaris 2.6)
best regards
Reza Nazarian
  #2 (permalink)  
Old 07-23-2001
mod mod is offline
Registered User
  
 

Join Date: Jul 2001
Location: Vienna
Posts: 29
Thumbs down

There are two possibilities:

1. Restore them from backup (if you have one)
2. Write them new ;-)

I think you are searching for an undelete-commando or any kind of wastebasket like under ms-windows, but there is none under unix ... bad luck
  #3 (permalink)  
Old 07-23-2001
Optimus_P Optimus_P is offline Forum Advisor  
flim flam flamma jamma
  
 

Join Date: May 2001
Location: Chicago IL, USA
Posts: 1,006
a hint for next time.

alias your rm command to move the files to the /tmp dir. then if you really wanted to delete them use a rm -f from the tmp dir.

its a tuff lesson to learn but it happens.
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




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


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0