In fact, this tool I have known for a long time, the previous period to do experiments, always problems. Can not solve their own. Very tangled, very depressed, very egg pain ....
Perhaps the luck is better today, install the software package, then use, hehe, unexpectedly succeeded, and delete the file, the command is RM-RF Oh!
First download the software, download the address:
Http://code.google.com/p/ext3grep/downloads/list
Currently the latest version is: ext3grep-0.10.2.tar.gz
The environment of my system is: virtual machine
[Root@localhost bin]# Uname-a
Linux localhost.localdomain 2.6.18-164.el5 #1 SMP Tue Aug 15:51:54 EDT 2009 i686 i686 i386
[Root@localhost bin]# Cat/etc/issue
Red Hat Enterprise Linux Server Release 5.4 (Tikanga)
The following start installation Oh. Installation is simple
Tar zxvf ext3grep-0.10.2.tar.gz
CD ext3grep-0.10.2
./configure--prefix=/usr/local/ext3grep
Make
Make install
Successful installation completed.
And then enter? installation directory look, there's only one bin.
[Root@localhost ext3grep]# pwd
/usr/local/ext3grep
[Root@localhost ext3grep]# ls
Bin
Go inside the bin and take a look.
[Root@localhost ext3grep]# CD Bin
[Root@localhost bin]# ls
Ext3grep
We can look at the help, and here's the part
[Root@localhost bin]#./ext3grep-h
Running Ext3grep version 0.10.2
./ext3grep:invalid option--H
No action specified; Implying--superblock.
Usage:./ext3grep [Options] [--] Device-file
Options:
--version,-[VV] Print version and exit successfully.
--help, Print this Help and exit successfully.
--superblock Print contents of Superblock In addition to the rest.
If no action is specified then this option is implied.
--print Print content of block or inode, if any.
--ls Print directories with only one line per entry.
This option is often needed to turn on filtering.
--accept filen Accept ' filen ' as a legal filename. Can be used multi-
Ple times. If you are--accept you must remove
BOTH stage* files!
--accept-all Simply Accept everything as filename.
--journal Show content of journal.
--show-path-inodes show the inode for each directory component in paths.
This article URL address: http://www.bianceng.cn/OS/Linux/201410/45343.htm