<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
> <channel><title>Comments on: Linux recover deleted files with lsof command &#8211; howto</title> <atom:link href="http://www.cyberciti.biz/tips/linux-recover-deleted-files-with-lsof-command.html/feed" rel="self" type="application/rss+xml" /><link>http://www.cyberciti.biz/tips/linux-recover-deleted-files-with-lsof-command.html</link> <description>This is a Linux sys admin journal by Vivek about sys admin work, Linux tips &#38; tricks, hacks, news and more.</description> <lastBuildDate>Fri, 10 Feb 2012 20:37:43 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: Madhukar kumar</title><link>http://www.cyberciti.biz/tips/linux-recover-deleted-files-with-lsof-command.html#comment-168217</link> <dc:creator>Madhukar kumar</dc:creator> <pubDate>Wed, 12 Jan 2011 05:39:34 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-recover-deleted-files-with-lsof-command.html#comment-168217</guid> <description>Hi Guys,
Accidentaly I deleted all of my file using
rm -rf *
It contained some important data. I need those
data back.Can any body help me in this regard.
Thanks in advance,
Madhukar kumar.</description> <content:encoded><![CDATA[<p>Hi Guys,<br
/> Accidentaly I deleted all of my file using<br
/> rm -rf *<br
/> It contained some important data. I need those<br
/> data back.Can any body help me in this regard.</p><p>Thanks in advance,<br
/> Madhukar kumar.</p> ]]></content:encoded> </item> <item><title>By: vinay</title><link>http://www.cyberciti.biz/tips/linux-recover-deleted-files-with-lsof-command.html#comment-161603</link> <dc:creator>vinay</dc:creator> <pubDate>Thu, 02 Dec 2010 06:21:46 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-recover-deleted-files-with-lsof-command.html#comment-161603</guid> <description>in my centos server configuration files has been deleted due to accident. i want to recover that files tell me how can i recover those files.</description> <content:encoded><![CDATA[<p>in my centos server configuration files has been deleted due to accident. i want to recover that files tell me how can i recover those files.</p> ]]></content:encoded> </item> <item><title>By: Panacea</title><link>http://www.cyberciti.biz/tips/linux-recover-deleted-files-with-lsof-command.html#comment-159984</link> <dc:creator>Panacea</dc:creator> <pubDate>Fri, 01 Oct 2010 18:55:44 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-recover-deleted-files-with-lsof-command.html#comment-159984</guid> <description>Hello all,
All the files in my directory has been accidentally deleted on an SGI server using the rm -r command. None of the files are backed up. Please, can anyone help me out with possibility of recovering my files? It will highly be appreciated and acknowledged. Thanks.</description> <content:encoded><![CDATA[<p>Hello all,<br
/> All the files in my directory has been accidentally deleted on an SGI server using the rm -r command. None of the files are backed up. Please, can anyone help me out with possibility of recovering my files? It will highly be appreciated and acknowledged. Thanks.</p> ]]></content:encoded> </item> <item><title>By: mozmel</title><link>http://www.cyberciti.biz/tips/linux-recover-deleted-files-with-lsof-command.html#comment-158739</link> <dc:creator>mozmel</dc:creator> <pubDate>Sat, 07 Aug 2010 19:17:25 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-recover-deleted-files-with-lsof-command.html#comment-158739</guid> <description>hi
i have some files deleted from linux and i want to recover it with orginal names&gt;&gt;
can any one help me to do that?
thanks</description> <content:encoded><![CDATA[<p>hi<br
/> i have some files deleted from linux and i want to recover it with orginal names&gt;&gt;<br
/> can any one help me to do that?<br
/> thanks</p> ]]></content:encoded> </item> <item><title>By: Poorna Chandra</title><link>http://www.cyberciti.biz/tips/linux-recover-deleted-files-with-lsof-command.html#comment-158119</link> <dc:creator>Poorna Chandra</dc:creator> <pubDate>Thu, 15 Jul 2010 03:39:08 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-recover-deleted-files-with-lsof-command.html#comment-158119</guid> <description>How to recover the Deleted files in linux(edubuntu)
please accidentally i deleted my important folder</description> <content:encoded><![CDATA[<p>How to recover the Deleted files in linux(edubuntu)<br
/> please accidentally i deleted my important folder</p> ]]></content:encoded> </item> <item><title>By: Peter Stoelzgen</title><link>http://www.cyberciti.biz/tips/linux-recover-deleted-files-with-lsof-command.html#comment-153064</link> <dc:creator>Peter Stoelzgen</dc:creator> <pubDate>Thu, 21 Jan 2010 21:38:33 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-recover-deleted-files-with-lsof-command.html#comment-153064</guid> <description>Hi.
Like some other people I did something very stupid.
I deleted my home directory using the following command:
userdel -r pedro
After I read your article I approached the problem in the following way:
lsof &#124; grep /home/pedro
I receive a four line answer:
bash 4414 root cwd DIR 8,2 0 8085505 /home/pedro (deleted)
lsof 5650 root cwd DIR 8,2 0 8085505 /home/pedro (deleted)
grep 5651 root cwd DIR 8,2 0 8085505 /home/pedro (deleted)
lsof 5652 root cwd DIR 8,2 0 8085505 /home/pedro (deleted)
Is there any possibility to recover the whole directory by setting some values manually.
Please write back,
Pedro</description> <content:encoded><![CDATA[<p>Hi.<br
/> Like some other people I did something very stupid.<br
/> I deleted my home directory using the following command:<br
/> userdel -r pedro</p><p>After I read your article I approached the problem in the following way:<br
/> lsof | grep /home/pedro</p><p>I receive a four line answer:<br
/> bash 4414 root cwd DIR 8,2 0 8085505 /home/pedro (deleted)<br
/> lsof 5650 root cwd DIR 8,2 0 8085505 /home/pedro (deleted)<br
/> grep 5651 root cwd DIR 8,2 0 8085505 /home/pedro (deleted)<br
/> lsof 5652 root cwd DIR 8,2 0 8085505 /home/pedro (deleted)</p><p>Is there any possibility to recover the whole directory by setting some values manually.<br
/> Please write back,<br
/> Pedro</p> ]]></content:encoded> </item> <item><title>By: Bhanu</title><link>http://www.cyberciti.biz/tips/linux-recover-deleted-files-with-lsof-command.html#comment-151826</link> <dc:creator>Bhanu</dc:creator> <pubDate>Tue, 24 Nov 2009 09:02:19 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-recover-deleted-files-with-lsof-command.html#comment-151826</guid> <description>i have deleted one important files on lamp server.
is there any idea  to recover that files from server.
plssssss replyyyyyy m n messsss</description> <content:encoded><![CDATA[<p>i have deleted one important files on lamp server.<br
/> is there any idea  to recover that files from server.<br
/> plssssss replyyyyyy m n messsss</p> ]]></content:encoded> </item> <item><title>By: jim</title><link>http://www.cyberciti.biz/tips/linux-recover-deleted-files-with-lsof-command.html#comment-151818</link> <dc:creator>jim</dc:creator> <pubDate>Mon, 23 Nov 2009 21:19:07 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-recover-deleted-files-with-lsof-command.html#comment-151818</guid> <description>I have moved files from a directory to a computer on the network and have since discovered that the drive they were moved to is bad.  It is my sense that moving and deleting are largely the same process, is there a best way to recover the files from the directory they were moved from? THANKS! -jim-</description> <content:encoded><![CDATA[<p>I have moved files from a directory to a computer on the network and have since discovered that the drive they were moved to is bad.  It is my sense that moving and deleting are largely the same process, is there a best way to recover the files from the directory they were moved from? THANKS! -jim-</p> ]]></content:encoded> </item> <item><title>By: Emma</title><link>http://www.cyberciti.biz/tips/linux-recover-deleted-files-with-lsof-command.html#comment-151287</link> <dc:creator>Emma</dc:creator> <pubDate>Wed, 28 Oct 2009 11:35:21 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-recover-deleted-files-with-lsof-command.html#comment-151287</guid> <description>I delete a whole data in home folder by rm -rf * then
how i recover the data pls reply me at the earliest possible. I am in mess....</description> <content:encoded><![CDATA[<p>I delete a whole data in home folder by rm -rf * then<br
/> how i recover the data pls reply me at the earliest possible. I am in mess&#8230;.</p> ]]></content:encoded> </item> <item><title>By: Moon</title><link>http://www.cyberciti.biz/tips/linux-recover-deleted-files-with-lsof-command.html#comment-150895</link> <dc:creator>Moon</dc:creator> <pubDate>Thu, 01 Oct 2009 19:10:59 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-recover-deleted-files-with-lsof-command.html#comment-150895</guid> <description>Hi Manoj,
If you follow step by step from this site you might recover the file.
http://www.cyberciti.biz/tips/linuxunix-recover-deleted-files.html
That guides to have you in a level than try to search your directory or file either by grep or locate command.
Regards,</description> <content:encoded><![CDATA[<p>Hi Manoj,<br
/> If you follow step by step from this site you might recover the file.</p><p><a
href="http://www.cyberciti.biz/tips/linuxunix-recover-deleted-files.html" rel="nofollow">http://www.cyberciti.biz/tips/linuxunix-recover-deleted-files.html</a></p><p>That guides to have you in a level than try to search your directory or file either by grep or locate command.</p><p>Regards,</p> ]]></content:encoded> </item> <item><title>By: sanjat</title><link>http://www.cyberciti.biz/tips/linux-recover-deleted-files-with-lsof-command.html#comment-150749</link> <dc:creator>sanjat</dc:creator> <pubDate>Tue, 22 Sep 2009 07:26:37 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-recover-deleted-files-with-lsof-command.html#comment-150749</guid> <description>hello
Actually I have deleted a file by using &quot;shift+delete&quot;..
i want to recover it
m using fedora core 10
please help
thank you in advance</description> <content:encoded><![CDATA[<p>hello<br
/> Actually I have deleted a file by using &#8220;shift+delete&#8221;..<br
/> i want to recover it<br
/> m using fedora core 10<br
/> please help<br
/> thank you in advance</p> ]]></content:encoded> </item> <item><title>By: Winfried Buechert</title><link>http://www.cyberciti.biz/tips/linux-recover-deleted-files-with-lsof-command.html#comment-149035</link> <dc:creator>Winfried Buechert</dc:creator> <pubDate>Sat, 20 Jun 2009 08:59:24 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-recover-deleted-files-with-lsof-command.html#comment-149035</guid> <description>the editor deleted the PID, use this:
cp /proc/PID/fd/255 recovered</description> <content:encoded><![CDATA[<p>the editor deleted the PID, use this:<br
/> cp /proc/PID/fd/255 recovered</p> ]]></content:encoded> </item> <item><title>By: Winfried Buechert</title><link>http://www.cyberciti.biz/tips/linux-recover-deleted-files-with-lsof-command.html#comment-149034</link> <dc:creator>Winfried Buechert</dc:creator> <pubDate>Sat, 20 Jun 2009 08:55:08 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-recover-deleted-files-with-lsof-command.html#comment-149034</guid> <description>Hi,
I just managed to recover a script, that was still running in an endless loop, but I deleted the File:
./doit &amp;
rm doit
lsof &#124; grep doit  (you get the PID, you get the INUM also, but that did not help)
cat /proc//fd/255 (outputs the script)</description> <content:encoded><![CDATA[<p>Hi,<br
/> I just managed to recover a script, that was still running in an endless loop, but I deleted the File:<br
/> ./doit &amp;<br
/> rm doit<br
/> lsof | grep doit  (you get the PID, you get the INUM also, but that did not help)<br
/> cat /proc//fd/255 (outputs the script)</p> ]]></content:encoded> </item> <item><title>By: Sanjay sachdeva</title><link>http://www.cyberciti.biz/tips/linux-recover-deleted-files-with-lsof-command.html#comment-148564</link> <dc:creator>Sanjay sachdeva</dc:creator> <pubDate>Fri, 15 May 2009 05:14:03 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-recover-deleted-files-with-lsof-command.html#comment-148564</guid> <description>By mistake i delete my file by rm command, file name is myprog.tgz. This file contains all my programs. Can any one help me for recover this file.</description> <content:encoded><![CDATA[<p>By mistake i delete my file by rm command, file name is myprog.tgz. This file contains all my programs. Can any one help me for recover this file.</p> ]]></content:encoded> </item> <item><title>By: Iain</title><link>http://www.cyberciti.biz/tips/linux-recover-deleted-files-with-lsof-command.html#comment-146559</link> <dc:creator>Iain</dc:creator> <pubDate>Sun, 04 Jan 2009 21:39:13 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-recover-deleted-files-with-lsof-command.html#comment-146559</guid> <description>You don&#039;t actually link to the article on Linux.com, it&#039;s here: http://www.linux.com/articles/58142</description> <content:encoded><![CDATA[<p>You don&#8217;t actually link to the article on Linux.com, it&#8217;s here: <a
href="http://www.linux.com/articles/58142" rel="nofollow">http://www.linux.com/articles/58142</a></p> ]]></content:encoded> </item> <item><title>By: Chetan</title><link>http://www.cyberciti.biz/tips/linux-recover-deleted-files-with-lsof-command.html#comment-146280</link> <dc:creator>Chetan</dc:creator> <pubDate>Wed, 17 Dec 2008 08:41:08 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-recover-deleted-files-with-lsof-command.html#comment-146280</guid> <description>System-&gt;Administration-&gt;Software Sources. From the terminal I installed Foremost:
sudo apt-get install foremost
You need to know your target partition’s path to recover from it. I simply started System-Administration-&gt;Partition Editor and saw the the home partition is /dev/sda1.
Let’s recover some JPEG images:
sudo foremost -t jpeg -i /dev/sda1
This command causes Foremost to create a directory called output and put every file it can recover in. This could take a while.</description> <content:encoded><![CDATA[<p>System-&gt;Administration-&gt;Software Sources. From the terminal I installed Foremost:<br
/> sudo apt-get install foremost</p><p>You need to know your target partition’s path to recover from it. I simply started System-Administration-&gt;Partition Editor and saw the the home partition is /dev/sda1.</p><p>Let’s recover some JPEG images:<br
/> sudo foremost -t jpeg -i /dev/sda1</p><p>This command causes Foremost to create a directory called output and put every file it can recover in. This could take a while.</p> ]]></content:encoded> </item> <item><title>By: Ashish Amre</title><link>http://www.cyberciti.biz/tips/linux-recover-deleted-files-with-lsof-command.html#comment-144536</link> <dc:creator>Ashish Amre</dc:creator> <pubDate>Sat, 02 Aug 2008 06:52:42 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-recover-deleted-files-with-lsof-command.html#comment-144536</guid> <description>Some one destroyed all my vpses now I want to recover data please help me how to recover that data.</description> <content:encoded><![CDATA[<p>Some one destroyed all my vpses now I want to recover data please help me how to recover that data.</p> ]]></content:encoded> </item> <item><title>By: manoj</title><link>http://www.cyberciti.biz/tips/linux-recover-deleted-files-with-lsof-command.html#comment-143829</link> <dc:creator>manoj</dc:creator> <pubDate>Tue, 20 May 2008 14:49:19 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-recover-deleted-files-with-lsof-command.html#comment-143829</guid> <description>This is a nice site which can help us in urgent.</description> <content:encoded><![CDATA[<p>This is a nice site which can help us in urgent.</p> ]]></content:encoded> </item> <item><title>By: manoj</title><link>http://www.cyberciti.biz/tips/linux-recover-deleted-files-with-lsof-command.html#comment-143828</link> <dc:creator>manoj</dc:creator> <pubDate>Tue, 20 May 2008 14:48:17 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-recover-deleted-files-with-lsof-command.html#comment-143828</guid> <description>Hi Guys,
Accidentaly I deleted all of my folders using
rm -rf *
It contained some important data. I need those
data back.Can any body help me in this regard.
Thanks in advance,
Manoj.</description> <content:encoded><![CDATA[<p>Hi Guys,<br
/> Accidentaly I deleted all of my folders using<br
/> rm -rf *<br
/> It contained some important data. I need those<br
/> data back.Can any body help me in this regard.</p><p>Thanks in advance,<br
/> Manoj.</p> ]]></content:encoded> </item> <item><title>By: guna</title><link>http://www.cyberciti.biz/tips/linux-recover-deleted-files-with-lsof-command.html#comment-143576</link> <dc:creator>guna</dc:creator> <pubDate>Fri, 25 Apr 2008 04:18:51 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-recover-deleted-files-with-lsof-command.html#comment-143576</guid> <description>I want recover the deleted files and directory command. Please help me give proceture.</description> <content:encoded><![CDATA[<p>I want recover the deleted files and directory command. Please help me give proceture.</p> ]]></content:encoded> </item> </channel> </rss>
