lotus



previous page: 018.  I have more than 64 MB of RAM but when I use the "free" command to check the amount of available memory on my system only slightly less than 64MB show up. How do I get Linux to recognize the additional RAM?
  
page up: Brief Linux FAQ
  
next page: 020.  I am trying to run a script file named script or test but I am getting some unexpected results.

019. I have used the rm command to delete a file. Is it possible to undelete the file and hence recover its contents?




Description

This article is from the the Brief Linux FAQ (BLFAQ) Maintained by Neil Zanella nzanella@ganymede.cs.mun.ca

019. I have used the rm command to delete a file. Is it possible to undelete the file and hence recover its contents?

In theory there is a way to undelete a file if you are using the ext2fs file system (most common). In practice, it is rarely possible. To prevent significant loss of data in this manner you must ensure that your system is backed up regularly. Alternatively if you had installed the program midnight commander before deleting and compiled a version with undelf then you could use cd undel:/dev/hda8 to see your deleted files (without names). Alternatively, some users like to have a shell script that moves a file to a directory like /tmp each time it is removed or just before it is overwritten. If you are really desperate, read the Ext2fs-Undeletion mini-HOWTO, which might work.

 

Continue to:















TOP
previous page: 018.  I have more than 64 MB of RAM but when I use the "free" command to check the amount of available memory on my system only slightly less than 64MB show up. How do I get Linux to recognize the additional RAM?
  
page up: Brief Linux FAQ
  
next page: 020.  I am trying to run a script file named script or test but I am getting some unexpected results.