<?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>linux tool Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/linux-tool/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Wed, 02 Oct 2019 13:08:47 +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>Linux Nmap network scanning tool installation and use</title>
		<link>https://www.osradar.com/linux-nmap-network-scanning-tool-installation-and-use/</link>
					<comments>https://www.osradar.com/linux-nmap-network-scanning-tool-installation-and-use/#respond</comments>
		
		<dc:creator><![CDATA[Mel]]></dc:creator>
		<pubDate>Thu, 03 Oct 2019 07:27:26 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[linux tool]]></category>
		<category><![CDATA[monitoring tools]]></category>
		<category><![CDATA[network]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=14148</guid>

					<description><![CDATA[<p>This paper introduces the installation and use of the Nmap network scanning tool under centos. NMAP is a popular network scanning and sniffing tools is also a powerful tool for port scanning type safety assessment, is widely used in the security scan, NMAP is a useful online tool, also is often used in the production [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/linux-nmap-network-scanning-tool-installation-and-use/">Linux Nmap network scanning tool installation and use</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>This paper introduces the installation and use of the Nmap network scanning tool under centos.</p>



<p>NMAP is a popular network scanning and sniffing tools is also a powerful tool for port scanning type safety assessment, is widely used in the security scan, NMAP is a useful online tool, also is often used in the production and development, mainly for port open view of detection and LAN information collection, etc., different Linux distributions generally also with NMAP package management tool, can also choose to go to the website to <a href="https://nmap.org/">download </a>the source code package compiled installation.</p>



<h3><strong> Install nmap</strong></h3>



<p> In case, you are unable to use nmap command, use below command to install it </p>



<pre class="wp-block-preformatted"> centos：yum install nmap
 ubuntu：apt-get install nmap  </pre>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="171" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/10/install-1024x171.png" alt="centos install nmap" class="wp-image-14156" srcset="https://www.osradar.com/wp-content/uploads/2019/10/install-1024x171.png 1024w, https://www.osradar.com/wp-content/uploads/2019/10/install-300x50.png 300w, https://www.osradar.com/wp-content/uploads/2019/10/install-768x128.png 768w, https://www.osradar.com/wp-content/uploads/2019/10/install-696x116.png 696w, https://www.osradar.com/wp-content/uploads/2019/10/install-1068x178.png 1068w, https://www.osradar.com/wp-content/uploads/2019/10/install.png 1285w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>centos install nmap</figcaption></figure>



<p>Check that the installation is successful</p>



<pre class="wp-block-preformatted"> nmap -v</pre>



<figure class="wp-block-image"><img loading="lazy" width="971" height="113" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/10/check.png" alt="" class="wp-image-14157" srcset="https://www.osradar.com/wp-content/uploads/2019/10/check.png 971w, https://www.osradar.com/wp-content/uploads/2019/10/check-300x35.png 300w, https://www.osradar.com/wp-content/uploads/2019/10/check-768x89.png 768w, https://www.osradar.com/wp-content/uploads/2019/10/check-696x81.png 696w" sizes="(max-width: 971px) 100vw, 971px" /><figcaption> Check </figcaption></figure>



<h4><strong>Nmap usage method</strong></h4>



<ul><li>Scan IP  which common TCP port and UDP port are open</li></ul>



<pre class="wp-block-preformatted">nmap 127.0.0.1 or nmap -sS -sU -p 1-65535 127.0.0.1</pre>



<figure class="wp-block-image"><img loading="lazy" width="816" height="225" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/10/ip.png" alt="" class="wp-image-14158" srcset="https://www.osradar.com/wp-content/uploads/2019/10/ip.png 816w, https://www.osradar.com/wp-content/uploads/2019/10/ip-300x83.png 300w, https://www.osradar.com/wp-content/uploads/2019/10/ip-768x212.png 768w, https://www.osradar.com/wp-content/uploads/2019/10/ip-696x192.png 696w" sizes="(max-width: 816px) 100vw, 816px" /><figcaption> Scan IP </figcaption></figure>



<ul><li>Scan multiple IP addresses or  subnet </li></ul>



<pre class="wp-block-preformatted">nmap 127.0.0.1 172.16.6.1
nmap 172.16.6.1-100
nmap 172.16.6.0/24  </pre>



<p>In the scan result, if the state column is open, it means the state is open; if it is filtered, it may be filtered by a firewall; if it is closed, it means the port is closed.</p>



<ul><li>Scans  which hosts are alive in the subnet</li></ul>



<pre class="wp-block-preformatted">nmap -n -sP 172.16.6.0/24</pre>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="493" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/10/subnet-1-1024x493.png" alt="" class="wp-image-14160" srcset="https://www.osradar.com/wp-content/uploads/2019/10/subnet-1-1024x493.png 1024w, https://www.osradar.com/wp-content/uploads/2019/10/subnet-1-300x144.png 300w, https://www.osradar.com/wp-content/uploads/2019/10/subnet-1-768x370.png 768w, https://www.osradar.com/wp-content/uploads/2019/10/subnet-1-696x335.png 696w, https://www.osradar.com/wp-content/uploads/2019/10/subnet-1-1068x514.png 1068w, https://www.osradar.com/wp-content/uploads/2019/10/subnet-1-872x420.png 872w, https://www.osradar.com/wp-content/uploads/2019/10/subnet-1.png 1296w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption> Scan subnet  alive </figcaption></figure>



<ul><li>Nmap route trace</li></ul>



<pre class="wp-block-preformatted">namp –traceroute 8.8.8.8  </pre>



<figure class="wp-block-image is-resized"><img loading="lazy" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/10/企业微信截图_15700149568763.png" alt="" class="wp-image-14168" width="708" height="337" srcset="https://www.osradar.com/wp-content/uploads/2019/10/企业微信截图_15700149568763.png 664w, https://www.osradar.com/wp-content/uploads/2019/10/企业微信截图_15700149568763-300x143.png 300w" sizes="(max-width: 708px) 100vw, 708px" /><figcaption>traceroute</figcaption></figure>



<ul><li>Scans IP or subnet hosts for port</li></ul>



<pre class="wp-block-preformatted">nmap -p 12598 127.0.0.1
nmap -p 12598 172.16.6.0/24</pre>



<figure class="wp-block-image"><img loading="lazy" width="1021" height="488" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/10/port.png" alt="" class="wp-image-14161" srcset="https://www.osradar.com/wp-content/uploads/2019/10/port.png 1021w, https://www.osradar.com/wp-content/uploads/2019/10/port-300x143.png 300w, https://www.osradar.com/wp-content/uploads/2019/10/port-768x367.png 768w, https://www.osradar.com/wp-content/uploads/2019/10/port-696x333.png 696w, https://www.osradar.com/wp-content/uploads/2019/10/port-879x420.png 879w" sizes="(max-width: 1021px) 100vw, 1021px" /><figcaption> Scans port</figcaption></figure>



<ul><li>An option that goes one step further and gives you more information about the services running on a specific host is ‘-A’. </li></ul>



<pre class="wp-block-preformatted">nmap -A 127.0.0.1</pre>



<figure class="wp-block-image"><img loading="lazy" width="814" height="459" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/10/all.png" alt="" class="wp-image-14162" srcset="https://www.osradar.com/wp-content/uploads/2019/10/all.png 814w, https://www.osradar.com/wp-content/uploads/2019/10/all-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2019/10/all-768x433.png 768w, https://www.osradar.com/wp-content/uploads/2019/10/all-696x392.png 696w, https://www.osradar.com/wp-content/uploads/2019/10/all-745x420.png 745w" sizes="(max-width: 814px) 100vw, 814px" /><figcaption> all information </figcaption></figure>



<ul><li>Nmap scans the operating system type using the -O option</li></ul>



<pre class="wp-block-preformatted">nmap -O 12598 127.0.0.1</pre>



<figure class="wp-block-image"><img loading="lazy" width="757" height="239" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/10/企业微信截图_157001514422.png" alt="" class="wp-image-14169" srcset="https://www.osradar.com/wp-content/uploads/2019/10/企业微信截图_157001514422.png 757w, https://www.osradar.com/wp-content/uploads/2019/10/企业微信截图_157001514422-300x95.png 300w, https://www.osradar.com/wp-content/uploads/2019/10/企业微信截图_157001514422-696x220.png 696w" sizes="(max-width: 757px) 100vw, 757px" /><figcaption> operating system type </figcaption></figure>



<ul><li> For an in-depth understanding of the use of the nmap command, use it to examine the man pages </li></ul>



<pre class="wp-block-preformatted">man nmap</pre>



<h4><strong>Conclusions</strong></h4>



<p style="text-align:left"><g class="gr_ gr_5 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling ins-del multiReplace" id="5" data-gr-id="5">nmap</g> is one of those utilities that have so many options and capabilities, it can actually be overwhelming. As is the case with those types of utilities, you will end up using only a fraction of its capabilities to help get a specific job done. If you want to use it at its full potential, you’re in for a lot of trial and error and some hands-on experience with real networks. </p>



<p>So, you can read our post abour networks in <a href="https://www.osradar.com/tag/network/" target="_blank" rel="noreferrer noopener" aria-label="this (opens in a new tab)">this</a> link.</p>



<p>Please share this post and join <a href="https://t.me/osradar" target="_blank" rel="noreferrer noopener" aria-label="our Telegram Channel (opens in a new tab)">our Telegram Channel</a></p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/linux-nmap-network-scanning-tool-installation-and-use/">Linux Nmap network scanning tool installation and use</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/linux-nmap-network-scanning-tool-installation-and-use/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Usage of “fdisk” on Linux</title>
		<link>https://www.osradar.com/usage-of-fdisk-on-linux/</link>
					<comments>https://www.osradar.com/usage-of-fdisk-on-linux/#respond</comments>
		
		<dc:creator><![CDATA[osradar_editor]]></dc:creator>
		<pubDate>Mon, 10 Dec 2018 07:10:40 +0000</pubDate>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[fdisk]]></category>
		<category><![CDATA[fdisk linux]]></category>
		<category><![CDATA[fdisk usage]]></category>
		<category><![CDATA[linux tool]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=8199</guid>

					<description><![CDATA[<p>Linux is a beautiful platform that offers a number of built-in tools. Using those tools, it’s possible to perform a number of complex tasks without any additional toolkits. Having a good command over them can help in a number of situations. “fdisk” is such a tool that comes pre-installed on almost all the Linux distros. [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/usage-of-fdisk-on-linux/">Usage of “fdisk” 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 is a beautiful platform that offers a number of built-in tools. Using those tools, it’s possible to perform a number of complex tasks without any additional toolkits. Having a good command over them can help in a number of situations.</p>
<p>“fdisk” is such a tool that comes pre-installed on almost all the Linux distros. The tool works in the command line interface. Yet, it’s very simple and hassle-free. It’s a partitioning tool for HDDs, SSDs, USB thumb drives etc. Today, we’ll be checking out the usage of “fdisk”.</p>
<p>When you work with “fdisk”, it doesn’t immediately complete the operation. It holds the changes into memory and will perform the action only when you tell it to.</p>
<h1>Identifying the “device identifier”</h1>
<p>In the case of Linux, all the block devices or HDDs are identified by unique identifier names, for example, “sda”, “sdb” etc. Before proceeding, it’s important to make sure that you’re working on the right device. Otherwise, you may accidentally lose data from another device and find yourself in a mayhem of troubles.</p>
<p>Run the following command –</p>
<pre class="">sudo lsblk</pre>
<p><img loading="lazy" class="size-full wp-image-8201 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/12/fdisk-1.png" alt="" width="1035" height="457" srcset="https://www.osradar.com/wp-content/uploads/2018/12/fdisk-1.png 1035w, https://www.osradar.com/wp-content/uploads/2018/12/fdisk-1-300x132.png 300w, https://www.osradar.com/wp-content/uploads/2018/12/fdisk-1-768x339.png 768w, https://www.osradar.com/wp-content/uploads/2018/12/fdisk-1-1024x452.png 1024w, https://www.osradar.com/wp-content/uploads/2018/12/fdisk-1-951x420.png 951w" sizes="(max-width: 1035px) 100vw, 1035px" /></p>
<p>You can easily find out what device you’re about to modify. In my case, my 4GB USB flash drive is tagged as “sdb”.</p>
<h1>Opening storage device with fdisk</h1>
<p>For performing operations on a device, you have to lock it under fdisk. For that purpose, no partition of the device is allowed to be mounted.</p>
<p>From the above command, you can find out what partition was mounted.</p>
<p>Unmount the partition –</p>
<pre class="">sudo umount /dev/sdb1</pre>
<p><img loading="lazy" class="size-full wp-image-8202 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/12/fdisk-2.png" alt="" width="1038" height="101" srcset="https://www.osradar.com/wp-content/uploads/2018/12/fdisk-2.png 1038w, https://www.osradar.com/wp-content/uploads/2018/12/fdisk-2-300x29.png 300w, https://www.osradar.com/wp-content/uploads/2018/12/fdisk-2-768x75.png 768w, https://www.osradar.com/wp-content/uploads/2018/12/fdisk-2-1024x100.png 1024w" sizes="(max-width: 1038px) 100vw, 1038px" /></p>
<p>Now, it’s time to lock “sdb” under fdisk.</p>
<pre class="">sudo fdisk /dev/sdb</pre>
<h1></h1>
<h1>“fdisk” usage</h1>
<ul>
<li>
<h3>Listing available partitions</h3>
</li>
</ul>
<p>Once the device is locked under fdisk, enter the following value –</p>
<pre class="">p</pre>
<p><img loading="lazy" class="size-full wp-image-8203 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/12/fdisk-3.png" alt="" width="1036" height="426" srcset="https://www.osradar.com/wp-content/uploads/2018/12/fdisk-3.png 1036w, https://www.osradar.com/wp-content/uploads/2018/12/fdisk-3-300x123.png 300w, https://www.osradar.com/wp-content/uploads/2018/12/fdisk-3-768x316.png 768w, https://www.osradar.com/wp-content/uploads/2018/12/fdisk-3-1024x421.png 1024w, https://www.osradar.com/wp-content/uploads/2018/12/fdisk-3-1021x420.png 1021w" sizes="(max-width: 1036px) 100vw, 1036px" /></p>
<p>You’ll be presented with a list of available partitions.</p>
<ul>
<li>
<h3>Creating a new partition</h3>
</li>
</ul>
<p>A partition table is quite important as it holds the info about the partition(s) of the device. As of the time of publishing this article, there are a few available partition tables –</p>
<ul>
<li>DOS – One of the oldest partition tables developed by Microsoft. DOS partition table can’t hold more than 4 primary partitions. Highly suitable for small storage devices.</li>
<li>GPT – A newly developed partition table that allows more than 4 primary partitions. Extremely useful for big storage devices like HDD, SSD etc.</li>
</ul>
<p>If you wish to create a DOS partition table, enter the following value –</p>
<pre class="">o</pre>
<p><img loading="lazy" class="size-full wp-image-8204 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/12/fdisk-4.png" alt="" width="1039" height="291" srcset="https://www.osradar.com/wp-content/uploads/2018/12/fdisk-4.png 1039w, https://www.osradar.com/wp-content/uploads/2018/12/fdisk-4-300x84.png 300w, https://www.osradar.com/wp-content/uploads/2018/12/fdisk-4-768x215.png 768w, https://www.osradar.com/wp-content/uploads/2018/12/fdisk-4-1024x287.png 1024w" sizes="(max-width: 1039px) 100vw, 1039px" /></p>
<p>For a GPT partition table, use this value –</p>
<pre class="">g</pre>
<p><img loading="lazy" class="size-full wp-image-8205 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/12/fdisk-5.png" alt="" width="1039" height="376" srcset="https://www.osradar.com/wp-content/uploads/2018/12/fdisk-5.png 1039w, https://www.osradar.com/wp-content/uploads/2018/12/fdisk-5-300x109.png 300w, https://www.osradar.com/wp-content/uploads/2018/12/fdisk-5-768x278.png 768w, https://www.osradar.com/wp-content/uploads/2018/12/fdisk-5-1024x371.png 1024w" sizes="(max-width: 1039px) 100vw, 1039px" /></p>
<ul>
<li>
<h3>Creating/removing partitions</h3>
</li>
</ul>
<p>If you want to delete a partition, enter this value –</p>
<pre class="">d</pre>
<p><img loading="lazy" class="size-full wp-image-8206 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/12/fdisk-6.png" alt="" width="1025" height="139" srcset="https://www.osradar.com/wp-content/uploads/2018/12/fdisk-6.png 1025w, https://www.osradar.com/wp-content/uploads/2018/12/fdisk-6-300x41.png 300w, https://www.osradar.com/wp-content/uploads/2018/12/fdisk-6-768x104.png 768w, https://www.osradar.com/wp-content/uploads/2018/12/fdisk-6-1024x139.png 1024w" sizes="(max-width: 1025px) 100vw, 1025px" /></p>
<p>Then, you’ll be asked for entering the partition number. Make sure to find out the list of partitions using the previous method.</p>
<p>For creating a new partition, enter the following value –</p>
<pre class="">n</pre>
<p>&nbsp;</p>
<p>At first, you have to select the partition number. Hit “Enter” as the default value is always alright.</p>
<p>Now, you’ll be asked for the “First sector” number. Most of the cases, it’s also nothing to touch about (unless you’re sure what you’re doing). Just hit “Enter”.</p>
<p>Next, time to enter the size of the partition. For the partition size, it must not come up in fractions. For example, you want the partition size of 512MB, type “+512M” (without quotes). Similarly, for 2GB partition, the command will be “+1G”.</p>
<p><img loading="lazy" class="size-full wp-image-8207 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/12/fdisk-7.png" alt="" width="1026" height="204" srcset="https://www.osradar.com/wp-content/uploads/2018/12/fdisk-7.png 1026w, https://www.osradar.com/wp-content/uploads/2018/12/fdisk-7-300x60.png 300w, https://www.osradar.com/wp-content/uploads/2018/12/fdisk-7-768x153.png 768w, https://www.osradar.com/wp-content/uploads/2018/12/fdisk-7-1024x204.png 1024w" sizes="(max-width: 1026px) 100vw, 1026px" /></p>
<p>As you can see, the partition is created.</p>
<p><img loading="lazy" class="size-full wp-image-8208 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/12/fdisk-8.png" alt="" width="1027" height="271" srcset="https://www.osradar.com/wp-content/uploads/2018/12/fdisk-8.png 1027w, https://www.osradar.com/wp-content/uploads/2018/12/fdisk-8-300x79.png 300w, https://www.osradar.com/wp-content/uploads/2018/12/fdisk-8-768x203.png 768w, https://www.osradar.com/wp-content/uploads/2018/12/fdisk-8-1024x270.png 1024w" sizes="(max-width: 1027px) 100vw, 1027px" /></p>
<p>Another example &#8211;</p>
<p><img loading="lazy" class="alignnone size-full wp-image-8209" src="https://www.osradar.com/wp-content/uploads/2018/12/fdisk-9.png" alt="" width="1027" height="405" srcset="https://www.osradar.com/wp-content/uploads/2018/12/fdisk-9.png 1027w, https://www.osradar.com/wp-content/uploads/2018/12/fdisk-9-300x118.png 300w, https://www.osradar.com/wp-content/uploads/2018/12/fdisk-9-768x303.png 768w, https://www.osradar.com/wp-content/uploads/2018/12/fdisk-9-1024x404.png 1024w" sizes="(max-width: 1027px) 100vw, 1027px" /></p>
<ul>
<li>
<h3>Finalizing all the modifications</h3>
</li>
</ul>
<p>After you’ve performed all the modifications, you can now finalize the real changes in your drive. Enter the following value –</p>
<pre class="">w</pre>
<p>&nbsp;</p>
<p><img loading="lazy" class="size-full wp-image-8210 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/12/fdisk-10.png" alt="" width="1026" height="162" srcset="https://www.osradar.com/wp-content/uploads/2018/12/fdisk-10.png 1026w, https://www.osradar.com/wp-content/uploads/2018/12/fdisk-10-300x47.png 300w, https://www.osradar.com/wp-content/uploads/2018/12/fdisk-10-768x121.png 768w, https://www.osradar.com/wp-content/uploads/2018/12/fdisk-10-1024x162.png 1024w" sizes="(max-width: 1026px) 100vw, 1026px" /></p>
<p>The writing process is complete now but the partition(s) you created won’t be usable until you format them properly. Run the following command for formatting the partition in “ext3” format –</p>
<pre class="">sudo mkfs.ext3 -L demoPartition /dev/sdb2</pre>
<p><img loading="lazy" class="size-full wp-image-8211 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/12/fdisk-11.png" alt="" width="1042" height="316" srcset="https://www.osradar.com/wp-content/uploads/2018/12/fdisk-11.png 1042w, https://www.osradar.com/wp-content/uploads/2018/12/fdisk-11-300x91.png 300w, https://www.osradar.com/wp-content/uploads/2018/12/fdisk-11-768x233.png 768w, https://www.osradar.com/wp-content/uploads/2018/12/fdisk-11-1024x311.png 1024w" sizes="(max-width: 1042px) 100vw, 1042px" /></p>
<p>Here, “demoPartition” is the name of the partition. You can use any name as you like.</p>
<p>Now, the partition is ready for mounting. Run the following command –</p>
<pre class="">sudo mount /dev/sdb1 /mnt</pre>
<p><img loading="lazy" class="size-full wp-image-8212 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/12/fdisk-12.png" alt="" width="1034" height="99" srcset="https://www.osradar.com/wp-content/uploads/2018/12/fdisk-12.png 1034w, https://www.osradar.com/wp-content/uploads/2018/12/fdisk-12-300x29.png 300w, https://www.osradar.com/wp-content/uploads/2018/12/fdisk-12-768x74.png 768w, https://www.osradar.com/wp-content/uploads/2018/12/fdisk-12-1024x98.png 1024w" sizes="(max-width: 1034px) 100vw, 1034px" /></p>
<p>Verify the result –</p>
<pre class="">df -h</pre>
<p><img loading="lazy" class="size-full wp-image-8213 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/12/fdisk-13.png" alt="" width="1038" height="507" srcset="https://www.osradar.com/wp-content/uploads/2018/12/fdisk-13.png 1038w, https://www.osradar.com/wp-content/uploads/2018/12/fdisk-13-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2018/12/fdisk-13-768x375.png 768w, https://www.osradar.com/wp-content/uploads/2018/12/fdisk-13-1024x500.png 1024w, https://www.osradar.com/wp-content/uploads/2018/12/fdisk-13-860x420.png 860w" sizes="(max-width: 1038px) 100vw, 1038px" /></p>
<p>Enjoy!</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/usage-of-fdisk-on-linux/">Usage of “fdisk” 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/usage-of-fdisk-on-linux/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Automated Tool from Linux Lite Devs – Check for Meltdown and Spectre</title>
		<link>https://www.osradar.com/automated-tool-from-linux-lite-devs-check-for-meltdown-and-spectre/</link>
					<comments>https://www.osradar.com/automated-tool-from-linux-lite-devs-check-for-meltdown-and-spectre/#comments</comments>
		
		<dc:creator><![CDATA[Mel K]]></dc:creator>
		<pubDate>Thu, 25 Jan 2018 06:25:45 +0000</pubDate>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[linux tool]]></category>
		<category><![CDATA[Meltdown]]></category>
		<category><![CDATA[meltdown and spectre]]></category>
		<category><![CDATA[Spectre]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=1539</guid>

					<description><![CDATA[<p>In the recent days, the Meltdown and Spectre have been a really hot topic. Major system flaw in almost all the modern processors, in theory, can allow a hacker to compromise any system, regardless of security measures. Most importantly, antivirus or protection software isn’t able to block them. Now, for Linux users, a new checker [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/automated-tool-from-linux-lite-devs-check-for-meltdown-and-spectre/">Automated Tool from Linux Lite Devs – Check for Meltdown and Spectre</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>In the recent days, the Meltdown and Spectre have been a really hot topic. Major system flaw in almost all the modern processors, in theory, can allow a hacker to compromise any system, regardless of security measures. Most importantly, antivirus or protection software isn’t able to block them. Now, for Linux users, a new checker tool is available to check out the scope of Meltdown and Spectre.</p>
<p>If you don’t know how Meltdown and Spectre works, here’s a summary. Every modern processor uses a method called “speculative execution”. This method makes the processor function blazingly faster. Using the method, a hacker can execute such a program that can disclose sensitive info from other apps. Learn in-depth about the Meltdown and Spectre bug <a href="https://www.osradar.com/meltdown-spectre-computers-stake/">here</a>.</p>
<p>For Windows users, there’s a tool called InSpectre. This tool will analyze your system and tell if you’re vulnerable to these bugs. <a href="https://www.grc.com/inspectre.htm">Get InSpectre</a>. However, for Linux users, this type of tool wasn’t available. Thankfully, Linux Lite developers created such a tool for every Linux distro. Linux Lite is a Linux distro based on Ubuntu.</p>
<h3>How to use</h3>
<p>The tool is very simple to use. It’s a CLI tool, so please be focused.</p>
<ul>
<li><a href="https://github.com/linuxlite/Spectre-Meltdown-Checker-Automated/archive/master.zip">Download the Spectre Meltdown Checker Automated from GitHub</a>.</li>
<li>Extract the ZIP archive in a folder.</li>
<li>Open a terminal in that directory and run the following command:</li>
<li>Double-click on “sm-start” or run the following command:</li>
</ul>
<pre class="lang:default decode:true ">chmod +x sm-*</pre>
<p>If you&#8217;re using XFCE with Thunar, use the following command:</p>
<pre class="lang:default decode:true">xfconf-query --channel thunar --property /misc-exec-shell-scripts-by-default --create --type bool --set true</pre>
<p>It’ll show an output like in the GIF shown below.</p>
<p><img loading="lazy" class="alignnone size-full wp-image-1540" src="https://www.osradar.com/wp-content/uploads/2018/01/spectre-meltdown-check-result.gif" alt="" width="1412" height="836" /></p>
<p>&nbsp;</p>
<p>If this tool seems a bit difficult, there’s another similar tool. It’s a very simple, plain shell script to check out for the vulnerabilities. <a href="https://github.com/speed47/spectre-meltdown-checker">Get the script Spectre &amp; Meltdown Checker</a>. When you run the script, you can see the following result. It’s a sample one.</p>
<p><img loading="lazy" class="alignnone wp-image-1541" src="https://www.osradar.com/wp-content/uploads/2018/01/meltdown-and-spectre-check-result-300x135.png" alt="" width="733" height="330" srcset="https://www.osradar.com/wp-content/uploads/2018/01/meltdown-and-spectre-check-result-300x135.png 300w, https://www.osradar.com/wp-content/uploads/2018/01/meltdown-and-spectre-check-result-768x346.png 768w, https://www.osradar.com/wp-content/uploads/2018/01/meltdown-and-spectre-check-result-1024x461.png 1024w, https://www.osradar.com/wp-content/uploads/2018/01/meltdown-and-spectre-check-result-696x313.png 696w, https://www.osradar.com/wp-content/uploads/2018/01/meltdown-and-spectre-check-result-1068x481.png 1068w, https://www.osradar.com/wp-content/uploads/2018/01/meltdown-and-spectre-check-result-933x420.png 933w, https://www.osradar.com/wp-content/uploads/2018/01/meltdown-and-spectre-check-result.png 1180w" sizes="(max-width: 733px) 100vw, 733px" /></p>
<h3>What to do now</h3>
<p>After running this tool, you’ll know whether you’re vulnerable to any of the flaws. If you’re not, congratulations! In case your system is vulnerable, you need to think about it.</p>
<p>Whatever your system’s status is, it’s the best to run a system update. Different Linux distros follow different rules to manage and update the system. Here’s a detailed <a href="https://www.linux.com/learn/linux-101-updating-your-system">guide to update &amp; upgrade your Linux</a>.</p>
<p>Here’s a caution – don’t install Intel’s latest microcode. Different specialists are criticizing the buggy and troublesome patch from Intel. Many computers simply started reboot unexpectedly along with some other issues. So, for now, it’s the best to stay out of that microcode update.</p>
<p>For Linux users, Linux Lite can make a big change to your perspective and a refreshing desktop. It’s based on Ubuntu, the most popular Linux distro ever. It’s mostly focused on simplicity and faster performance. <a href="https://www.linuxliteos.com/">Check out Linux Lite today</a>!</p>
<p>Have you checked your system? If not, do it now. The Meltdown and Spectre is a result of faulty processors, mostly Intel processors. These flaws can’t be removed completely without hardware replacement. However, using software upgrades, we can mitigate the danger.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/automated-tool-from-linux-lite-devs-check-for-meltdown-and-spectre/">Automated Tool from Linux Lite Devs – Check for Meltdown and Spectre</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/automated-tool-from-linux-lite-devs-check-for-meltdown-and-spectre/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
	</channel>
</rss>
