<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>recover Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/recover/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Sun, 07 Apr 2019 23:44:37 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.12</generator>
	<item>
		<title>Foremost is a great tool for recover files on Linux</title>
		<link>https://www.osradar.com/foremost-is-a-great-tool-for-recover-files-on-linux/</link>
					<comments>https://www.osradar.com/foremost-is-a-great-tool-for-recover-files-on-linux/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Thu, 11 Apr 2019 04:00:59 +0000</pubDate>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[files]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[recover]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=11778</guid>

					<description><![CDATA[<p>Linux has fantastic tools that we can apply to our daily work. Whether you work on a server or simply on your personal computer. Sometimes at work, we can make several mistakes when working with files. For example, delete a file we should not have. Or format a flash drive that contains important information that [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/foremost-is-a-great-tool-for-recover-files-on-linux/">Foremost is a great tool for recover files on Linux</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Linux has fantastic tools that we can apply to our daily work. Whether you work on a server or simply on your personal computer. Sometimes at work, we can make several mistakes when working with files. For example, <a href="https://www.osradar.com/protect-your-files-from-accidental-deletion/" rel="noopener noreferrer">delete a file</a> we should not have. Or format a flash drive that contains important information that we then need. That&#8217;s why today I will show you how to install and use Foremost an extraordinary tool to recover files on Linux.</p>
<h2>Foremost</h2>
<p><a href="http://foremost.sourceforge.net/" rel="noopener">Foremost</a> is a console program to recover files based on their headers, footers, and internal data structures.</p>
<p>The application is a guarantee of clairvoyance since it was initially developed by a U.S. government entity but its code was released. It is inspired in technical applications of forensic laboratories. Again, it is important to say that it is very reliable.</p>
<p>Supports a large number of default file formats such as jpg, gif, png, bmp, avi, tiff, mp4, exe, mpg, wav, asf, wma, mp3, fws, riff, wmv, mov, pdf, ole, doc, docx, xls, xlsx. ppt, pptx, zip, rar, html, cpp, java, art,pst, ost, dbx, idx, mbx, wpc, pgp, txt, rpm, dat, etc. Besides all this, it is possible to add other formats if we edit the configuration file of the application that is <code>/etc/foremost.conf</code>.</p>
<h2>Install and use Foremost to recover files on Linux</h2>
<p>The application is available to be installed in the <a href="https://www.osradar.com/tag/debian/" rel="noopener noreferrer">Debian</a>, <a href="https://www.osradar.com/tag/Ubuntu/" rel="noopener noreferrer">Ubuntu</a> and their derivatives defect repositories. So if you use one of these Linux distributions, just use the following command to install Foremost:</p>
<pre>:~$ sudo apt install foremost</pre>
<figure id="attachment_11781" aria-describedby="caption-attachment-11781" style="width: 1365px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11781" src="https://www.osradar.com/wp-content/uploads/2019/04/1-4.png" alt="1.- Install Foremost" width="1365" height="416" srcset="https://www.osradar.com/wp-content/uploads/2019/04/1-4.png 1365w, https://www.osradar.com/wp-content/uploads/2019/04/1-4-300x91.png 300w, https://www.osradar.com/wp-content/uploads/2019/04/1-4-768x234.png 768w, https://www.osradar.com/wp-content/uploads/2019/04/1-4-1024x312.png 1024w, https://www.osradar.com/wp-content/uploads/2019/04/1-4-696x212.png 696w, https://www.osradar.com/wp-content/uploads/2019/04/1-4-1068x325.png 1068w" sizes="(max-width: 1365px) 100vw, 1365px" /><figcaption id="caption-attachment-11781" class="wp-caption-text">1.- Install Foremost</figcaption></figure>
<p>Once you have entered the password, the download and installation of the program will begin. Everything is quite simple.</p>
<p>If you use <a href="https://www.osradar.com/tag/centos/" rel="noopener noreferrer">CentOS</a> 7, then an extra distribution repository must be enabled. To do this, run the following command:</p>
<pre>:~$ su
:~# rpm -Uvh http://repository.it4i.cz/mirrors/repoforge/redhat/el7/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm</pre>
<p>Then we can install Foremost with the following command:</p>
<pre>:~# yum install foremost</pre>
<p>Now, you can start to recover files on Linux.</p>
<p>The use of the application is quite simple. However, it is recommended that where we are going to save the recovered files is on a different partition or even on another disk. In addition, it is recommended to create a folder that is empty to store the recovered files.</p>
<p>The basic form of use of the application is as follows:</p>
<pre>:~$ sudo foremost -v -t [format] -i [input_folder_or_path] -o [output_folder]</pre>
<p>For example:</p>
<figure id="attachment_11782" aria-describedby="caption-attachment-11782" style="width: 1205px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11782" src="https://www.osradar.com/wp-content/uploads/2019/04/2-4.png" alt="2.- Using Foremost to recover files on Linux" width="1205" height="412" srcset="https://www.osradar.com/wp-content/uploads/2019/04/2-4.png 1205w, https://www.osradar.com/wp-content/uploads/2019/04/2-4-300x103.png 300w, https://www.osradar.com/wp-content/uploads/2019/04/2-4-768x263.png 768w, https://www.osradar.com/wp-content/uploads/2019/04/2-4-1024x350.png 1024w, https://www.osradar.com/wp-content/uploads/2019/04/2-4-696x238.png 696w, https://www.osradar.com/wp-content/uploads/2019/04/2-4-1068x365.png 1068w" sizes="(max-width: 1205px) 100vw, 1205px" /><figcaption id="caption-attachment-11782" class="wp-caption-text">2.- Using Foremost to recover files on Linux</figcaption></figure>
<p>In that case, I am looking for and recovering all .pdf files from the<code> /dev/sda4</code> disk to a folder called recover on my current system. As you can see it is simple.</p>
<p>Finally, I recommend that you check the Foremost man page for more information on the application.</p>
<pre>:~$ man foremost</pre>
<figure id="attachment_11783" aria-describedby="caption-attachment-11783" style="width: 1349px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11783" src="https://www.osradar.com/wp-content/uploads/2019/04/3-4.png" alt="3.- Man page of foremost" width="1349" height="761" srcset="https://www.osradar.com/wp-content/uploads/2019/04/3-4.png 1349w, https://www.osradar.com/wp-content/uploads/2019/04/3-4-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2019/04/3-4-768x433.png 768w, https://www.osradar.com/wp-content/uploads/2019/04/3-4-1024x578.png 1024w, https://www.osradar.com/wp-content/uploads/2019/04/3-4-696x393.png 696w, https://www.osradar.com/wp-content/uploads/2019/04/3-4-1068x602.png 1068w, https://www.osradar.com/wp-content/uploads/2019/04/3-4-745x420.png 745w" sizes="(max-width: 1349px) 100vw, 1349px" /><figcaption id="caption-attachment-11783" class="wp-caption-text">3.- Man page of foremost</figcaption></figure>
<p>So, enjoy it.</p>
<h2>Conclusion</h2>
<p>Recovering files on Linux is a good thing to know. Especially at this time where we have a lot of work and can make involuntary mistakes that could be very expensive. So as you can see, it&#8217;s very easy to do.</p>
<p>Please share this post with your friends, it is important information that can help many.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/foremost-is-a-great-tool-for-recover-files-on-linux/">Foremost is a great tool for recover files on Linux</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/foremost-is-a-great-tool-for-recover-files-on-linux/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
