<?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/"
	 xmlns:media="http://search.yahoo.com/mrss/" >

<channel>
	<title>Newbies &#8211; AnonyViet &#8211; English Version</title>
	<atom:link href="https://en.anonyviet.com/tag/newbies/feed/" rel="self" type="application/rss+xml" />
	<link>https://en.anonyviet.com</link>
	<description>The most popular website for sharing information technology, computer networks, and security knowledge. Stay up to date with the hottest news and tips</description>
	<lastBuildDate>Sat, 04 Feb 2023 05:56:09 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.1</generator>

<image>
	<url>https://en.anonyviet.com/wp-content/uploads/2023/01/cropped-ico-logo-75x75-1.png</url>
	<title>Newbies &#8211; AnonyViet &#8211; English Version</title>
	<link>https://en.anonyviet.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Share a course to make money online from Cryptocurrency for newbies</title>
		<link>https://en.anonyviet.com/share-a-course-to-make-money-online-from-cryptocurrency-for-newbies/</link>
					<comments>https://en.anonyviet.com/share-a-course-to-make-money-online-from-cryptocurrency-for-newbies/#respond</comments>
		
		<dc:creator><![CDATA[AnonyViet]]></dc:creator>
		<pubDate>Sat, 04 Feb 2023 05:56:09 +0000</pubDate>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[Cryptocurrency]]></category>
		<category><![CDATA[money]]></category>
		<category><![CDATA[Newbies]]></category>
		<category><![CDATA[online]]></category>
		<category><![CDATA[Share]]></category>
		<guid isPermaLink="false">https://en.anonyviet.com/?p=9110</guid>

					<description><![CDATA[Cryptocurrency, also known as cryptocurrency, is a technology that deserves attention. In fact, many young people have been earning income from these cryptocurrencies. Although this coin has not been recognized by many organizations, it is still a money-making tool. Please download the course to make money online from Cryptocurrency for newbies. Join the channel Telegram [&#8230;]]]></description>
										<content:encoded><![CDATA[<p></p>
<div id="ftwp-postcontent">
<p>Cryptocurrency, also known as cryptocurrency, is a technology that deserves attention.  In fact, many young people have been earning income from these cryptocurrencies.  Although this coin has not been recognized by many organizations, it is still a money-making tool.  Please download the course to make money online from Cryptocurrency for newbies.</p>
<div class="code-block code-block-16" style="margin: 8px 0; clear: both;">
<div align="center">
<table class=" aligncenter" style="background-color: #c0c0c0; border-collapse: collapse; width: 59.9985%;">
<tbody>
<tr>
<td style="width: 100%; text-align: center;"><span style="font-size: 12pt;"><strong>Join the channel <span style="color: #0000ff;">Telegram</span> belong to <span style="color: #008080;">AnonyViet </span> 👉 <span style="text-decoration: underline;"><a target="_blank" href="https://en.anonyviet.com/next-link?url=https%3A%2F%2Ft.me%2Fanonyvietchat" class="local-link" rel="noopener">Link</a></span>  👈</strong></span></td>
</tr>
</tbody>
</table>
</div>
</div>
<p>The virtual currency world is especially interested in the development potential of this currency.  Like Bitcoin, this coin is showing good signs for long-term development.  Saying that, but not wanting to make money with it, you can rush into making money right away.  Download the course to make money online from Cryptocurrency to get rich</p>
<p><img post-id="9110" fifu-featured="1" fetchpriority="high" decoding="async" class="size-full wp-image-11466 aligncenter" src="https://anonyviet.com/wp-content/uploads/2018/10/cryptocurrency.jpg" alt="Share a course to make money online from Cryptocurrency for newbies" title="Share a course to make money online from Cryptocurrency for newbies" width="836" height="470" srcset="https://anonyviet.com/wp-content/uploads/2018/10/cryptocurrency.jpg 836w, https://anonyviet.com/wp-content/uploads/2018/10/cryptocurrency-300x169.jpg 300w, https://anonyviet.com/wp-content/uploads/2018/10/cryptocurrency-768x432.jpg 768w, https://anonyviet.com/wp-content/uploads/2018/10/cryptocurrency-750x422.jpg 750w" sizes="(max-width: 836px) 100vw, 836px" title="Share a course to make money online from Cryptocurrency for newbies 7"/></p>
<p>You need to learn to understand what it is and how it works.  When you have enough experience, you can start fighting to make money.  Now I will briefly analyze Cryptocurrency to show you some of its outstanding features!!</p>
<h2 id="ftoc-cryptocurrency-va-cac-dac-diem-noi-bat" class="ftwp-heading">Cryptocurrency and outstanding features</h2>
<p>The decentralized management system of Cryptocurrency is one of the highlights of this coin.  Users are allowed to control the money supply and value through an encrypted cryptographic protocol.  There is absolutely no interference from 3rd parties and intermediary banks.  That also increases customer safety.</p>
<p>Cryptocurrency allows cash transactions at exchanges.  After Bitcoin, perhaps this is a currency worth trusting according to the analysis of experts.  In this course, you will be taught how to analyze, how to understand how it works.</p>
<p>From there, you will be guided to practice your judgment and capture currency rates yourself.  This course is currently priced at 1,200,000 VND at Unica and I have checked the quality.  The course duration is short but the instruction is quite complete in terms of skills and tools.</p>
<p><img decoding="async" loading="lazy" class="size-full wp-image-11464 aligncenter" src="https://anonyviet.com/wp-content/uploads/2018/10/Screenshot-from-2018-10-07-17-56-48.png" alt="Share a course to make money online from Cryptocurrency for newbies 2" width="364" height="382" srcset="https://anonyviet.com/wp-content/uploads/2018/10/Screenshot-from-2018-10-07-17-56-48.png 364w, https://anonyviet.com/wp-content/uploads/2018/10/Screenshot-from-2018-10-07-17-56-48-286x300.png 286w" sizes="auto, (max-width: 364px) 100vw, 364px" title="Share a course to make money online from Cryptocurrency for newbies 8"/></p>
<h3 id="ftoc-ban-se-hoc-duoc-gi-sau-khoa-hoc" class="ftwp-heading">What will you learn after the course?</h3>
<ul>
<li>Get a basic knowledge of crypto traders.</li>
<li>Trading operations, buying and selling cryptocurrencies.</li>
<li>Choose a good ICO, Crypto project.</li>
<li>Choose the most suitable way to make money for you.</li>
<li>Know what to do from scratch.</li>
<li>Become a smart investor.</li>
</ul>
<h2 id="ftoc-download-khoa-hoc-kiem-tien-tu-cryptocurrency" class="ftwp-heading" style="text-align: center;">Download the course to make money from Cryptocurrency</h2>
<p style="text-align: center;"><strong><span style="font-size: 14pt;"><a target="_blank" href="https://en.anonyviet.com/next-link/?url=http%3A%2F%2Fwww.fshare.vn%2Ffile%2FCO6GK7YYN5FF" rel="noopener noreferrer external nofollow" class="ext-link" onclick="this.target='_blank';">Download the course</a></span></strong></p>
<p style="text-align: center;">Download, extract, and use K Lite Codec Pack or VLC software to watch Video of Cryptocurrency making money course</p>
<p style="text-align: right;">Lmint.</p>
<div class="kk-star-ratings kksr-auto kksr-align-right kksr-valign-bottom" data-payload="{&quot;align&quot;:&quot;right&quot;,&quot;id&quot;:&quot;11463&quot;,&quot;slug&quot;:&quot;default&quot;,&quot;valign&quot;:&quot;bottom&quot;,&quot;ignore&quot;:&quot;&quot;,&quot;reference&quot;:&quot;auto&quot;,&quot;class&quot;:&quot;&quot;,&quot;count&quot;:&quot;100&quot;,&quot;legendonly&quot;:&quot;&quot;,&quot;readonly&quot;:&quot;&quot;,&quot;score&quot;:&quot;5&quot;,&quot;starsonly&quot;:&quot;&quot;,&quot;best&quot;:&quot;5&quot;,&quot;gap&quot;:&quot;5&quot;,&quot;greet&quot;:&quot;\u0110\u00e1nh gi\u00e1 b\u00e0i vi\u1ebft post&quot;,&quot;legend&quot;:&quot;B\u00e0i vi\u1ebft \u0111\u1ea1t: 5\/5 - (100 b\u00ecnh ch\u1ecdn)&quot;,&quot;size&quot;:&quot;24&quot;,&quot;width&quot;:&quot;142.5&quot;,&quot;_legend&quot;:&quot;B\u00e0i vi\u1ebft \u0111\u1ea1t: {score}\/{best} - ({count} {votes})&quot;,&quot;font_factor&quot;:&quot;1.25&quot;}">
<p>            The article achieved: 5/5 &#8211; (100 votes)    </p>
</p></div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://en.anonyviet.com/share-a-course-to-make-money-online-from-cryptocurrency-for-newbies/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<media:content url="https://anonyviet.com/wp-content/uploads/2018/10/cryptocurrency.jpg" medium="image"></media:content>
            	</item>
		<item>
		<title>Godot Engine &#8211; Game Engine Worth Programming For Newbies</title>
		<link>https://en.anonyviet.com/godot-engine-game-engine-worth-programming-for-newbies/</link>
					<comments>https://en.anonyviet.com/godot-engine-game-engine-worth-programming-for-newbies/#respond</comments>
		
		<dc:creator><![CDATA[AnonyViet]]></dc:creator>
		<pubDate>Thu, 02 Feb 2023 21:55:42 +0000</pubDate>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[Engine]]></category>
		<category><![CDATA[Game]]></category>
		<category><![CDATA[Godot]]></category>
		<category><![CDATA[Newbies]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[worth]]></category>
		<guid isPermaLink="false">https://en.anonyviet.com/?p=8523</guid>

					<description><![CDATA[If you are a enthusiast programming game then you must have heard about Unity, Unreal Engine 4, CryEngine… Most of the above Engines are written in C#, C++ which is easy to learn but difficult to use for beginners. Therefore, today I will introduce to you a new and emerging Game Engine that is Godot [&#8230;]]]></description>
										<content:encoded><![CDATA[<p></p>
<div id="ftwp-postcontent">
<p><strong>If you are a enthusiast <span style="color: #000000;"><a target="_blank" style="color: #000000;" href="https://en.anonyviet.com/next-link?url=https%3A%2F%2Fanonyviet.com%2F%3Fs%3Dl%25E1%25BA%25ADp%2Btr%25C3%25ACnh%2Bgame" rel="noopener" class="local-link">programming game</a></span>  then you must have heard about Unity, Unreal Engine 4, CryEngine… Most of the above Engines are written in C#, C++ which is easy to learn but difficult to use for beginners.  Therefore, today I will introduce to you a new and emerging Game Engine that is Godot Engine.</strong></p>
<div class="code-block code-block-16" style="margin: 8px 0; clear: both;">
<div align="center">
<table class=" aligncenter" style="background-color: #c0c0c0; border-collapse: collapse; width: 59.9985%;">
<tbody>
<tr>
<td style="width: 100%; text-align: center;"><span style="font-size: 12pt;"><strong>Join the channel <span style="color: #0000ff;">Telegram</span> belong to <span style="color: #008080;">AnonyViet </span> 👉 <span style="text-decoration: underline;"><a target="_blank" href="https://en.anonyviet.com/next-link?url=https%3A%2F%2Ft.me%2Fanonyvietchat" class="local-link" rel="noopener">Link</a></span>  👈</strong></span></td>
</tr>
</tbody>
</table>
</div>
</div>
<p><strong>Godot Engine</strong> is open source software.  The editor and all accompanying tools are freely licensed by MIT.  Because it&#8217;s free, you can own everything created with this tool.  Especially with a large user community, you can use unique features shared by the community.</p>
<h2 id="ftoc-godot-engine-la-gi" class="ftwp-heading"><strong>What is Godot Engine?</strong></h2>
<p><strong>Godot Engine</strong> created by Juan &#8216;reduz&#8217; Linietsky and Ariel &#8216;punto&#8217; Manzur in 2007. The name Godot was given in reference to Samuel Beckett&#8217;s play Waitting For Godot.  Doesn&#8217;t it sound ridiculous, the name of a play is given to an emerging software.</p>
<p>Godot was released in February 2014. The source code of Godot has been released to the public on GitHub under the MIT License.  Being compared to Unity and UE4 is like two tool makers who have created a brand for decades but are always compared to a newbie.</p>
<p><a target="_blank" href="https://en.anonyviet.com/next-link?url=https%3A%2F%2Fanonyviet.com%2Fwp-content%2Fuploads%2F2020%2F01%2FGodot-Engine-download.jpg" rel="noopener" class="local-link"><img post-id="8523" fifu-featured="1" decoding="async" class="aligncenter size-full wp-image-17490" src="https://anonyviet.com/wp-content/uploads/2020/01/Godot-Engine-download.jpg" alt="Godot Engine &#8211; Game Engine Worth Programming For Newbies" title="Godot Engine &#8211; Game Engine Worth Programming For Newbies" width="603" height="338" srcset="https://anonyviet.com/wp-content/uploads/2020/01/Godot-Engine-download.jpg 603w, https://anonyviet.com/wp-content/uploads/2020/01/Godot-Engine-download-300x168.jpg 300w" sizes="(max-width: 603px) 100vw, 603px" title="Godot Engine - Game Engine Worth Programming For Newbies 7"/></a></p>
<h2 id="ftoc-tinh-nang" class="ftwp-heading"><strong>Feature:</strong></h2>
<h3 id="ftoc-ban-co-the-lap-trinh-voi-godot-engine-ke-ca-chua-hoc-lap-trinh" class="ftwp-heading"><strong><u>You can program with Godot Engine even without learning to program</u></strong></h3>
<p>Most Game Engines now require national languages ​​such as C++, C#… But Godot is full, it supports from basic to advanced such as: C++, C#, Python, Java, Lua, VisualScripts&#8230; Especially In particular, it has its own language, but GdScript is created based on Python and Lua. While most other languages ​​do not support their own languages.  And Now Godot is experimenting with languages ​​like Go, R, Nim, Rust and Ruby.  Those of you who like to make games should refer to those languages.  In the future, Godot is expected to link with most languages.</p>
<p>Especially it is very easy to program and write code.  With the API there are most of the elements of a game development tool and very few features that cannot be accessed directly by code.</p>
<h3 id="ftoc-he-thong-node-ho-tro-nhanh-gon-nhe" class="ftwp-heading"><strong><u>The Node System supports fast and lightweight</u></strong></h3>
<p>Most Game Engines use sence to perform a level in the game.  In Unity, it seems to be GameObject, UE is Actors.  For <strong>Godot Engine is Node.</strong></p>
<p>Node is an object and inherits from other nodes.  This explanation will be very confusing for those who have never used it, so I will talk about it in the video tutorial.</p>
<h3 id="ftoc-ho-tro-phat-trien-game-2d-3d-va-ma-nguon-mo" class="ftwp-heading"><strong><u>Support 2D, 3D and Open Source Game development</u></strong></h3>
<p>Godot supports creating 2D and 3D games.  Most of the Indie developers who create games like this tool because of the convenience it brings.  Instead of creating a pseudo 2D space (a 3D world represented in two dimensions), Godot operates in a real 2D space represented in pixels.  This simplifies 2D game creation and optimization.</p>
<p>Newer 3D support but still slower than Unreal Engine and Unity.  However, unless you&#8217;re building an AAA game with top graphics, you won&#8217;t face any limitations when using it on Godot.</p>
<p>Godot has nodes for both 2D and 3D, with some designed to work in both and support for 2.5D coming soon.</p>
<p><a target="_blank" href="https://en.anonyviet.com/next-link?url=https%3A%2F%2Fanonyviet.com%2Fwp-content%2Fuploads%2F2020%2F01%2Fgodot-engine-la-gi.jpg" rel="noopener" class="local-link"><img decoding="async" loading="lazy" class="aligncenter size-full wp-image-17491" src="https://anonyviet.com/wp-content/uploads/2020/01/godot-engine-la-gi.jpg" alt="What is godot engine?" width="661" height="359" srcset="https://anonyviet.com/wp-content/uploads/2020/01/godot-engine-la-gi.jpg 661w, https://anonyviet.com/wp-content/uploads/2020/01/godot-engine-la-gi-300x163.jpg 300w" sizes="auto, (max-width: 661px) 100vw, 661px" title="Godot Engine - Game Engine Worth Programming For Newbies 8"/></a></p>
<h3 id="ftoc-nhe-ho-tro-nhieu-nen-tang-ide-rieng-cua-minh" class="ftwp-heading"><strong><u>Lightweight, Cross-Platform Support, Its Own IDE</u></strong></h3>
<p>Currently Godot version 3.1.2 its capacity is: 50.8 MB.  If you install templates, it&#8217;s <strong>200MB</strong> very light, isn&#8217;t it?</p>
<p>Godot supports many platforms such as: Linux, Windows, MacOS, Server very convenient.</p>
<p>Godot has a built-in IDE, which doesn&#8217;t have the cool features of other IDEs like VSCode&#8217;s Live Share, but it&#8217;s ideal for use with Godot.  Of course, you are not required to use the built-in IDE in this tool and can use other IDEs or text editors to program in GoDot.</p>
<h2 id="ftoc-link-download-godot-engine" class="ftwp-heading"><strong>Link Download Godot Engine</strong></h2>
<p>Godot supports all popular operating systems today.  You can download Godot Engine to install and experience making Games like a programmer.</p>
<p style="text-align: center;"><a target="_blank" href="https://en.anonyviet.com/next-link/?url=https%3A%2F%2Fgodotengine.org%2Fdownload%2Fwindows" rel="noopener noreferrer external nofollow" class="ext-link" onclick="this.target='_blank';">Windows</a></p>
<p style="text-align: center;"><a target="_blank" href="https://en.anonyviet.com/next-link/?url=https%3A%2F%2Fgodotengine.org%2Fdownload%2Fosx" rel="noopener noreferrer external nofollow" class="ext-link" onclick="this.target='_blank';">MacOS</a></p>
<p style="text-align: center;"><a target="_blank" href="https://en.anonyviet.com/next-link/?url=https%3A%2F%2Fgodotengine.org%2Fdownload%2Flinux" rel="noopener noreferrer external nofollow" class="ext-link" onclick="this.target='_blank';">Linux</a></p>
<p style="text-align: center;"><a target="_blank" href="https://en.anonyviet.com/next-link/?url=https%3A%2F%2Fgodotengine.org%2Fdownload%2Fserver" rel="noopener noreferrer external nofollow" class="ext-link" onclick="this.target='_blank';">Server</a></p>
<p>In the next articles, I will show you how to use Godot Engine to make a simple game.</p>
<p style="text-align: right;"><strong>DeathGM </strong></p>
<div class="kk-star-ratings kksr-auto kksr-align-right kksr-valign-bottom" data-payload="{&quot;align&quot;:&quot;right&quot;,&quot;id&quot;:&quot;17489&quot;,&quot;slug&quot;:&quot;default&quot;,&quot;valign&quot;:&quot;bottom&quot;,&quot;ignore&quot;:&quot;&quot;,&quot;reference&quot;:&quot;auto&quot;,&quot;class&quot;:&quot;&quot;,&quot;count&quot;:&quot;100&quot;,&quot;legendonly&quot;:&quot;&quot;,&quot;readonly&quot;:&quot;&quot;,&quot;score&quot;:&quot;5&quot;,&quot;starsonly&quot;:&quot;&quot;,&quot;best&quot;:&quot;5&quot;,&quot;gap&quot;:&quot;5&quot;,&quot;greet&quot;:&quot;\u0110\u00e1nh gi\u00e1 b\u00e0i vi\u1ebft post&quot;,&quot;legend&quot;:&quot;B\u00e0i vi\u1ebft \u0111\u1ea1t: 5\/5 - (100 b\u00ecnh ch\u1ecdn)&quot;,&quot;size&quot;:&quot;24&quot;,&quot;width&quot;:&quot;142.5&quot;,&quot;_legend&quot;:&quot;B\u00e0i vi\u1ebft \u0111\u1ea1t: {score}\/{best} - ({count} {votes})&quot;,&quot;font_factor&quot;:&quot;1.25&quot;}">
<p>            The article achieved: 5/5 &#8211; (100 votes)    </p>
</p></div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://en.anonyviet.com/godot-engine-game-engine-worth-programming-for-newbies/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<media:content url="https://anonyviet.com/wp-content/uploads/2020/01/Godot-Engine-download.jpg" medium="image"></media:content>
            	</item>
		<item>
		<title>Basic Python knowledge for newbies</title>
		<link>https://en.anonyviet.com/basic-python-knowledge-for-newbies/</link>
					<comments>https://en.anonyviet.com/basic-python-knowledge-for-newbies/#respond</comments>
		
		<dc:creator><![CDATA[AnonyViet]]></dc:creator>
		<pubDate>Fri, 27 Jan 2023 22:33:18 +0000</pubDate>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[Basic]]></category>
		<category><![CDATA[Knowledge]]></category>
		<category><![CDATA[Newbies]]></category>
		<category><![CDATA[Python]]></category>
		<guid isPermaLink="false">https://en.anonyviet.com/?p=5200</guid>

					<description><![CDATA[Python is a general-purpose interpreted programming language that has now made its mark in the world of Computer Science and most importantly, for cybersecurity. Join the channel Telegram of the AnonyViet 👉 Link 👈 This is not a standalone article that just explains what python is and introduces some basic commands. This article will be [&#8230;]]]></description>
										<content:encoded><![CDATA[<p></p>
<div id="ftwp-postcontent">
<p>Python is a general-purpose interpreted programming language that has now made its mark in the world of Computer Science and most importantly, for cybersecurity.</p>
<div class="code-block code-block-16" style="margin: 8px 0; clear: both;">
<div align="center">
<table class=" aligncenter" style="background-color: #c0c0c0; border-collapse: collapse; width: 59.9985%;">
<tbody>
<tr>
<td style="width: 100%; text-align: center;"><span style="font-size: 12pt;"><strong>Join the channel <span style="color: #0000ff;">Telegram</span> of the <span style="color: #008080;">AnonyViet </span> 👉 <span style="text-decoration: underline;"><a target="_blank" href="https://en.anonyviet.com/next-link?url=https%3A%2F%2Ft.me%2Fanonyvietchat" class="local-link" rel="noopener">Link</a></span>  👈</strong></span></td>
</tr>
</tbody>
</table>
</div>
</div>
<p><img post-id="5200" fifu-featured="1" decoding="async" class="aligncenter wp-image-34318 size-full" src="https://anonyviet.com/wp-content/uploads/2021/09/77588.jpg" alt="Basic Python knowledge for newbies" title="Basic Python knowledge for newbies" width="960" height="540" srcset="https://anonyviet.com/wp-content/uploads/2021/09/77588.jpg 960w, https://anonyviet.com/wp-content/uploads/2021/09/77588-300x169.jpg 300w, https://anonyviet.com/wp-content/uploads/2021/09/77588-768x432.jpg 768w, https://anonyviet.com/wp-content/uploads/2021/09/77588-750x422.jpg 750w" sizes="(max-width: 960px) 100vw, 960px" title="Basic Python knowledge for beginners 6"/></p>
<p>This is not a standalone article that just explains what python is and introduces some basic commands.  This article will be the starting point for other cybersecurity python articles.  Note that during this process I will be using Python3 on Ubuntu 18.04.</p>
<h2 id="ftoc-buoc-dau-tien-khi-hoc-python" class="ftwp-heading">The first step when learning python</h2>
<p>Python can be installed from the standard linux apt repositories by entering the command <code>sudo apt-get install python3</code> to install python3 in your machine.  To use python you just need to type python in your Terminal it will take you to python&#8217;s shell.</p>
<pre class="EnlighterJSRAW" data-enlighter-language="generic">robin@python:~$ python3&#13;
Python 3.6.8 (default, Jan 14 2019, 11:02:34) &#13;
[GCC 8.0.1 20180414 (experimental) [trunk revision 259383]] on linux&#13;
Type "help", "copyright", "credits" or "license" for more information.&#13;
&gt;&gt;&gt;</pre>
<p>For Windows, you download <a target="_blank" href="https://en.anonyviet.com/next-link/?url=https%3A%2F%2Fwww.python.org%2Fdownloads%2F" rel="noopener external nofollow" class="ext-link" onclick="this.target='_blank';">Python For Windows</a>, when installing at the first screen remember to select Add Path….  After the installation is complete, open CMD and type the command <code>python</code> see if it works.</p>
<h2 id="ftoc-cac-khai-niem-co-ban" class="ftwp-heading">The basic concepts</h2>
<p>Starting with the basics, I&#8217;ll explain the different concepts that will be used to understand what you&#8217;re doing and will also help you debug the program.</p>
<h3 id="ftoc-bien" class="ftwp-heading">Variable</h3>
<p>A variable that points to data stored in a memory location.  A memory can typically hold strings, real numbers, Boolean values, integers, or more complex data types such as sets, lists, and dictionaries.</p>
<p><em>Note: In Python, you don&#8217;t have to explicitly define the data type like C/C++.  Python strings can be enclosed in single or double quotes, no different than PHP/Perl.</em></p>
<pre class="EnlighterJSRAW" data-enlighter-language="generic">Python 3.6.8 (default, Jan 14 2019, 11:02:34) &#13;
[GCC 8.0.1 20180414 (experimental) [trunk revision 259383]] on linux&#13;
Type "help", "copyright", "credits" or "license" for more information.&#13;
&gt;&gt;&gt; a_string = "Hello" # A string in duble quotations&#13;
&gt;&gt;&gt; a_string&#13;
'Hello'&#13;
&gt;&gt;&gt; a_string = 'Hello' # A string in single quotations&#13;
&gt;&gt;&gt; a_string&#13;
'Hello'&#13;
&gt;&gt;&gt; num = 5 # A integer value&#13;
&gt;&gt;&gt; num&#13;
5&#13;
&gt;&gt;&gt; float = 1.34 # A float value&#13;
&gt;&gt;&gt; float&#13;
1.34&#13;
&gt;&gt;&gt; Boolean = True # A boolean value&#13;
&gt;&gt;&gt; Boolean&#13;
True&#13;
&gt;&gt;&gt;</pre>
<p>Above, I have declared different types of variables without having to define them like C++.</p>
<h3 id="ftoc-chuoi" class="ftwp-heading">Chain</h3>
<p>String is an immutable object in python which means that once created, you cannot change its contents (for those of you who don&#8217;t understand this, then <a target="_blank" href="https://en.anonyviet.com/next-link/?url=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F8798403%2Fstring-is-immutable-what-exactly-is-the-meaning" rel="noopener external nofollow" class="ext-link" onclick="this.target='_blank';">read this post</a> and <a target="_blank" href="https://en.anonyviet.com/next-link/?url=https%3A%2F%2Fmedium.com%2F%40meghamohan%2Fmutable-and-immutable-side-of-python-c2145cf72747" rel="noopener external nofollow" class="ext-link" onclick="this.target='_blank';">this lesson</a> again).  As said before, it doesn&#8217;t matter if you use single or double quotes.  Jaw <code>len</code> used to get the length of the string.</p>
<pre class="EnlighterJSRAW" data-enlighter-language="generic">&gt;&gt;&gt; var = "Hello, this is a string"&#13;
&gt;&gt;&gt; var&#13;
'Hello, this is a string'&#13;
&gt;&gt;&gt; new_var="Hello, this is a string"&#13;
&gt;&gt;&gt;new_var&#13;
'Hello, this is a string'</pre>
<h3 id="ftoc-so-nguyen-va-so-thuc" class="ftwp-heading">Integers and Reals</h3>
<p>An integer in python can be either negative or positive because it doesn&#8217;t require any stipulation of variable data type like unsigned and signed integer in C.</p>
<pre class="EnlighterJSRAW" data-enlighter-language="generic">&gt;&gt;&gt; a_int = 5&#13;
&gt;&gt;&gt; a_int&#13;
5&#13;
&gt;&gt;&gt; a_float = 1.43&#13;
&gt;&gt;&gt; a_float&#13;
1.43</pre>
<p>As you can see, there is no need to declare variables, we can save a lot of time and quickly use new objects.</p>
<h3 id="listssetsanddictionaries" class="ftwp-heading">List, Set and Dictionary</h3>
<h4 id="listssetsanddictionaries-2" class="ftwp-heading">List</h4>
<p>List is a collection of homogeneous or heterogeneous data types which means we can store different data types in the same list.  A list can contain duplicate data.  To access the data in the list, you can use the index (index), ie the position of the element in the list.</p>
<pre class="EnlighterJSRAW" data-enlighter-language="generic">&gt;&gt;&gt; lists&#13;
["A","B","C","D"]&#13;
&gt;&gt;&gt; lists[0] # value atposition zero&#13;
'A'</pre>
<h4 id="sets" class="ftwp-heading">Set</h4>
<p>On the other hand, set is a mutable data type that can be used to store different data types but does not contain duplicated data.</p>
<pre class="EnlighterJSRAW" data-enlighter-language="generic">&gt;&gt;&gt; lists = ["A","B","C","D","A","B"]&#13;
&gt;&gt;&gt; set(lists)&#13;
["A","B","C","D"]</pre>
<h4 id="dictionary" class="ftwp-heading">Dictionary</h4>
<p>Dictionary is a hash table containing keys and their corresponding values.  It has O(1) access time which means it takes a constant amount of time to retrieve the data.  A value in a dictionary can be accessed from keys.</p>
<pre class="EnlighterJSRAW" data-enlighter-language="generic">&gt;&gt;&gt; dictionary&#13;
{'Foo': 'Bar', 'Bacon': 'Fish'}&#13;
&gt;&gt;&gt; dictionary['Foo']&#13;
'Bar'&#13;
&gt;&gt;&gt; dictionary['Bacon']&#13;
'Fish'</pre>
<h3 id="input" class="ftwp-heading">Input</h3>
<p>Syntax <code>input</code> used to get input from the user in Terminal.  By default, the input value will be a string.  But you can also cast the data type from string to number by adding functions like <code>int()</code>, <code>float()</code> outside the jaw <code>input()</code>.</p>
<pre class="EnlighterJSRAW" data-enlighter-language="generic">#!/usr/bin/env python3&#13;
&#13;
name = input("Enter Name: ")&#13;
age = int(input("Enter age:" )) # Chuyển chuỗi sang số nguyên&#13;
height = float(input("Enter height: ") #Chuyển chuỗi sang số thực</pre>
<p>First, the variable name will take a string as input and age will take an integer as input while the height variable will take a real number as input.  If any other type of object is imported, it will result in an exception error (<strong>Exception</strong>).</p>
<h2 id="ftoc-toan-tu" class="ftwp-heading">Operator</h2>
<ul>
<li><code>+</code>  : Concatenate two strings or add two integers/reals.</li>
<li><code>-</code>  : Subtract integers/reals.</li>
<li><code>=</code>  : Used to assign a value to a variable.</li>
<li><code>==</code>  : Used to compare two similar variables with the same data type.  For example 1 == 1, the result will be True.</li>
<li><code>!=</code>  : Used to compare two variables with the same data type.  For example 1 != 1, the result will be False.</li>
<li><code>%</code>  : Divide by integer part of 2 numbers.  Example 10 % 3 = 3.</li>
<li><code>*</code>  : Used to multiply a value.  It is also possible to multiply strings.  Eg: <code>'Ad' + ' dep trai' * 5</code>the result will be <code>Ad dep trai dep trai dep trai dep trai dep trai</code>.</li>
<li><code>&gt;=</code> and <code>&lt;=</code> : Used to compare greater than or equal to and less than or equal to.</li>
<li><code>and</code>  : The AND operator will return True if all conditions are satisfied.</li>
<li><code>or</code>  : The OR operator will return True if only one of the conditions is satisfied.</li>
<li><code>not</code>: Negation operator.  For example, not True would be False.</li>
</ul>
<h2 id="ftoc-dieu-khien-luong-lenh" class="ftwp-heading">Command flow control</h2>
<h3 id="ftoc-cau-lenh-if-elif-va-else" class="ftwp-heading">If, elif and else . statements</h3>
<p>These statements are called conditional statements.  Used to test a condition then perform data processing.Example:</p>
<pre class="EnlighterJSRAW" data-enlighter-language="generic">user = input("Enter Username: ")&#13;
password = input("Enter Password: ")&#13;
&#13;
if user == "admin" and password == "123":&#13;
    print("Welcome Admin")&#13;
elif user == "guest" and password == "guest":&#13;
    print("Welcome Guest")&#13;
else:             &#13;
    print("Wrong credentials")</pre>
<p><strong>user</strong> and <strong>password</strong> are all variables and receive input from the user using the function <code>input</code>.  In line 6, we have an if statement to check if <strong>user</strong> is equal to the string “admin” and <strong>password</strong> equals the string “123” or not.  Commands <code>and</code> is used to ensure that both conditions are True.  On line number 8, we are checking if <strong>user</strong> and <strong>password</strong> is equal to &#8220;guest&#8221; or not.  On line 10, the command <code>print</code>will be run if the above two conditions are not satisfied.</p>
<h3 id="ftoc-vong-lap-for" class="ftwp-heading">for . loop</h3>
<p>Commands <code>for..in</code> is a loop statement, repeating the command as many times as the user wants.</p>
<pre class="EnlighterJSRAW" data-enlighter-language="generic">num = 5&#13;
for i in range(num):&#13;
    print(i) # Will print 0,1,2,3,4</pre>
<p>In line 2, there is a for..in statement that uses the function <code>range</code>to iterate from 0 to 4. The for loop can be used to iterate over different data types like list, string, etc.</p>
<h3 id="ftoc-vong-lap-while" class="ftwp-heading">while . loop</h3>
<p>The while statement allows you to repeat a block of statements as long as a condition is true.  Eg:</p>
<pre class="EnlighterJSRAW" data-enlighter-language="generic">num = 0&#13;
while num &lt; 10:&#13;
    num += 1&#13;
print(num)</pre>
<p>On line 1, we have the variable num assigned the value 0. Line 2 has a while statement that will be run until the num value is equal to or greater than 10 then stop.  On line 3, we increment num by 1 after each iteration.  So in line 4 we will get the value 10.</p>
<h2 id="ftoc-ham" class="ftwp-heading">Jaw</h2>
<p>Functions are reusable parts of the program.  They allow you to name a block of statements, allow you to run the block by calling the specified name anywhere in your program, and unlimited number of calls.</p>
<p>The structure of the function:</p>
<pre class="EnlighterJSRAW" data-enlighter-language="generic">def func_name(arg):&#13;
   -- your code --&#13;
return result</pre>
<p>Key word<code>def</code> at the top to define a function. <code>func_name</code> will be the name of the function. <code>arg</code> is the parameter and <code>return</code> for the final result.  In python, a function is not required to have <code>return</code>.</p>
<h2 id="ftoc-exceptions-ngoai-le" class="ftwp-heading">Exceptions <strong>–</strong>Exception</h2>
<p>Exceptions occur when special situations occur in your program.  For example, what if you&#8217;re reading a file and the file doesn&#8217;t exist?  Or what if you accidentally delete it while the program is running?  Such situations are handled using exceptions (<strong>Exceptions</strong>).</p>
<p>Example of a function call <code>print</code> simple.  What if we misspelled Print?  In this case, Python will give a syntax error.</p>
<pre class="EnlighterJSRAW" data-enlighter-language="generic">Traceback (most recent call last):&#13;
  File "&lt;stdin&gt;", line 1, in &lt;module&gt;&#13;
NameError: name 'Print' is not defined&#13;
&gt;&gt;&gt; print("Hello World")&#13;
Hello World</pre>
<h3 id="ftoc-xu-ly-cac-truong-hop-ngoai-le" class="ftwp-heading">Handling exceptions</h3>
<p>We can handle exceptions using the . statement <code>try..except</code>.  Basically, we put the usual statements in the block <code>try</code> and put all the error handling cases in the block <code>except.</code></p>
<pre class="EnlighterJSRAW" data-enlighter-language="generic">try:&#13;
    text = input('Enter something --&gt; ')&#13;
except EOFError:&#13;
    print('Why did you do an EOF on me?')&#13;
except KeyboardInterrupt:&#13;
    print('You cancelled the operation.')&#13;
else:&#13;
    print('You entered {}'.format(text))</pre>
<p>We put all statements that can generate exceptions/errors inside the block <code>try</code> and then put handling commands for errors/exceptions in <code>except</code>.  E<code>xcept</code>can handle a specified error or exception, or a list of errors/exceptions enclosed in parentheses.  If no error or exception name is provided, it will handle all errors and exceptions.</p>
<h2 id="ftoc-module-thu-vien" class="ftwp-heading">Library module</h2>
<p>The same way you reuse code like in functions.  You can also reuse the code of another program in another file.  It&#8217;s called a library module.</p>
<p>A library module can be used by another program to use its functionality.  This is how we can use the Python standard library.  First, we&#8217;ll see how to use the standard library modules.</p>
<pre class="EnlighterJSRAW" data-enlighter-language="generic">import sys&#13;
&#13;
print('The command line arguments are:')&#13;
for i in sys.argv:&#13;
    print(i)&#13;
&#13;
print('\n\nThe PYTHONPATH is', sys.path, '\n')</pre>
<p>Access the sys library using the command <code>import</code>.  Basically, this means we tell Python that we want to use this module.  The sys module contains functions related to the Python interpreter and the system and environment.</p>
<p>When Python executes the import sys statement, it looks for the sys module.  In this case, it&#8217;s one of the built-in modules, and so Python knows where to look.</p>
<h2 id="ftoc-tong-ket" class="ftwp-heading">summary</h2>
<p>Python is one of the most loved and popular languages.  It is also used in many different areas such as web, app, security.  You can read more python articles <a target="_blank" href="https://en.anonyviet.com/next-link?url=https%3A%2F%2Fanonyviet.com%2Ftag%2Fpython%2F" rel="noopener" class="local-link">here</a>.  Also, to write Python code, I recommend using Sublime Text 3 or <a target="_blank" href="https://en.anonyviet.com/next-link?url=https%3A%2F%2Fanonyviet.com%2F24-extension-visual-studio-code-tot-nhat%2F" rel="noopener" class="local-link">Visual Studio Code</a>.</p>
<div class="kk-star-ratings kksr-auto kksr-align-right kksr-valign-bottom" data-payload="{&quot;align&quot;:&quot;right&quot;,&quot;id&quot;:&quot;34317&quot;,&quot;slug&quot;:&quot;default&quot;,&quot;valign&quot;:&quot;bottom&quot;,&quot;ignore&quot;:&quot;&quot;,&quot;reference&quot;:&quot;auto&quot;,&quot;class&quot;:&quot;&quot;,&quot;count&quot;:&quot;100&quot;,&quot;legendonly&quot;:&quot;&quot;,&quot;readonly&quot;:&quot;&quot;,&quot;score&quot;:&quot;5&quot;,&quot;starsonly&quot;:&quot;&quot;,&quot;best&quot;:&quot;5&quot;,&quot;gap&quot;:&quot;5&quot;,&quot;greet&quot;:&quot;\u0110\u00e1nh gi\u00e1 b\u00e0i vi\u1ebft post&quot;,&quot;legend&quot;:&quot;B\u00e0i vi\u1ebft \u0111\u1ea1t: 5\/5 - (100 b\u00ecnh ch\u1ecdn)&quot;,&quot;size&quot;:&quot;24&quot;,&quot;width&quot;:&quot;142.5&quot;,&quot;_legend&quot;:&quot;B\u00e0i vi\u1ebft \u0111\u1ea1t: {score}\/{best} - ({count} {votes})&quot;,&quot;font_factor&quot;:&quot;1.25&quot;}">
<p>            The article achieved: 5/5 &#8211; (100 votes)    </p>
</p></div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://en.anonyviet.com/basic-python-knowledge-for-newbies/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<media:content url="https://anonyviet.com/wp-content/uploads/2021/09/77588.jpg" medium="image"></media:content>
            	</item>
		<item>
		<title>Basic CMD tutorial for newbies</title>
		<link>https://en.anonyviet.com/basic-cmd-tutorial-for-newbies/</link>
					<comments>https://en.anonyviet.com/basic-cmd-tutorial-for-newbies/#respond</comments>
		
		<dc:creator><![CDATA[AnonyViet]]></dc:creator>
		<pubDate>Wed, 25 Jan 2023 20:47:56 +0000</pubDate>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[Basic]]></category>
		<category><![CDATA[CMD]]></category>
		<category><![CDATA[Newbies]]></category>
		<category><![CDATA[tutorial]]></category>
		<guid isPermaLink="false">https://en.anonyviet.com/?p=3310</guid>

					<description><![CDATA[A lot of Windows users have never even touched Command Prompt aka CMD. With today&#8217;s advanced operating systems, it&#8217;s easy to use the computer without worrying about entering text commands in the Command Prompt. Join the channel Telegram of the AnonyViet 👉 Link 👈 However, you should also be familiar with the Command Prompt in [&#8230;]]]></description>
										<content:encoded><![CDATA[<p></p>
<div id="ftwp-postcontent">
<p><strong>A lot of Windows users have never even touched Command Prompt aka CMD.  With today&#8217;s advanced operating systems, it&#8217;s easy to use the computer without worrying about entering text commands in the Command Prompt.</strong></p>
<div class="code-block code-block-16" style="margin: 8px 0; clear: both;">
<div align="center">
<table class=" aligncenter" style="background-color: #c0c0c0; border-collapse: collapse; width: 59.9985%;">
<tbody>
<tr>
<td style="width: 100%; text-align: center;"><span style="font-size: 12pt;"><strong>Join the channel <span style="color: #0000ff;">Telegram</span> of the <span style="color: #008080;">AnonyViet </span> 👉 <span style="text-decoration: underline;"><a target="_blank" href="https://en.anonyviet.com/next-link?url=https%3A%2F%2Ft.me%2Fanonyvietchat" class="local-link" rel="noopener">Link</a></span>  👈</strong></span></td>
</tr>
</tbody>
</table>
</div>
</div>
<p><img post-id="3310" fifu-featured="1" decoding="async" class="aligncenter wp-image-33466 size-full" src="https://anonyviet.com/wp-content/uploads/2021/09/Windows-Command-Line-Beginners-Featured-fixed.jpg" alt="Basic CMD tutorial for newbies" title="Basic CMD tutorial for newbies" width="707" height="354" srcset="https://anonyviet.com/wp-content/uploads/2021/09/Windows-Command-Line-Beginners-Featured-fixed.jpg 707w, https://anonyviet.com/wp-content/uploads/2021/09/Windows-Command-Line-Beginners-Featured-fixed-300x150.jpg 300w, https://anonyviet.com/wp-content/uploads/2021/09/Windows-Command-Line-Beginners-Featured-fixed-360x180.jpg 360w" sizes="(max-width: 707px) 100vw, 707px" title="Basic CMD familiarization guide for newbies 11"/>However, you should also be familiar with the Command Prompt in Windows.  It helps you interact with the operating system more and can do more useful tasks.  So, in this article, I will acquaint you with Command Prompt.</p>
<h2 id="ftoc-command-prompt-cmd-la-gi" class="ftwp-heading">Command Prompt – What is CMD?</h2>
<p>Command Prompt, officially known as Windows Command Processor and often abbreviated as CMD, is a command line interface for the Windows operating system.  The command line interface is a way of directly interacting with the computer using text commands.</p>
<p>The early days of the computer age, when you had to type commands into a terminal to execute processes.  Early PC operating systems, such as MS-DOS, operated exclusively through a command line interface.  There are no mouse pointers, window managers or other graphical user interface (GUI) elements as we are used to seeing today.</p>
<div class="jeg_video_container jeg_video_content"><iframe loading="lazy" title="MS DOS for beginners" width="500" height="375" src="https://www.youtube.com/embed/1bKNts8liWI?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe></div>
<p>Another term you should know is “shell”, which is used to describe a program that allows the user to issue commands to the computer.  So the command line interface, as well as the GUI, are shells.</p>
<p>Early versions of Windows, such as Windows 3.1, operated as a DOS-based visual interface.  Later versions, including Windows 95 through Windows ME, also included MS-DOS.</p>
<p>Starting with Windows XP, Windows broke away from MS-DOS.  However, in modern versions of Windows, you can still use the Command Prompt to chat directly with your computer instead of clicking through various graphical menus.  Command Prompt can also run batch files, which is a great way to automate tasks.</p>
<p>Advanced users prefer to use the Command Prompt for some tasks, although you can also perform these tasks with a few simple keystrokes, which will require dozens of presses in the GUI interface.</p>
<h2 id="ftoc-cach-mo-cmd-trong-windows-10" class="ftwp-heading">How to open CMD in Windows 10</h2>
<p>There are several ways to open Command Prompt in Windows.  Here are the most common ways:</p>
<p><strong>Method 1:</strong> Type “command prompt” into the Start menu to search.  You can also type “cmd” (which stands for Command Prompt) if you want.</p>
<p><strong>Method 2: </strong>Press Win + R to open the Run box, then type “cmd” and press Enter to open the box.</p>
<p><strong>Method 3: </strong>Press Win + X (or right-click the Start menu) and select Command Prompt.  Depending on your Windows installation, you may see Windows PowerShell.  PowerShell is more powerful than Command Prompt but still runs all the same commands.</p>
<p><img decoding="async" loading="lazy" class="size-full wp-image-33467 aligncenter" src="https://anonyviet.com/wp-content/uploads/2021/09/Windows-Open-CMD-Prompt.jpg" alt="Basic CMD tutorial for newbies 8" width="587" height="314" srcset="https://anonyviet.com/wp-content/uploads/2021/09/Windows-Open-CMD-Prompt.jpg 587w, https://anonyviet.com/wp-content/uploads/2021/09/Windows-Open-CMD-Prompt-300x160.jpg 300w" sizes="auto, (max-width: 587px) 100vw, 587px" title="Basic CMD tutorial for newbies 12"/></p>
<p>Whichever you use above, open Command Prompt with normal permissions.  A lot of useful commands require you to have administrator privileges.</p>
<p>To run Command Prompt as administrator, hold Ctrl + Shift as you launch either of the first two options above.  If you use the third option, choose Command Prompt (Admin) instead.  The computer will ask you to accept UAC authentication, so you will need to either log in to an administrator account or provide an administrator password.</p>
<h2 id="ftoc-khai-niem-co-ban-ve-command-prompt" class="ftwp-heading">Command Prompt Basics</h2>
<p>When you open the Command Prompt window, you&#8217;ll see some basic information about your current version of Windows.  Then you will see a line like this:</p>
<p><strong><code>C:\Users\Username&gt;</code></strong></p>
<p>This is your current directory location.  Any commands you run based on location (such as deleting files) will take place in this directory.  The other CMD commands are more generic and do not depend on the current directory location.</p>
<p>It is important to know that when working in the Command Prompt, you must enter the correct commands.  Since you&#8217;re issuing commands directly to your computer, it won&#8217;t understand if you type it wrong.</p>
<p>If you enter a command that your computer doesn&#8217;t recognize, you&#8217;ll see a message that says [Lệnh] unrecognized… and Windows won&#8217;t do anything.</p>
<p><img decoding="async" loading="lazy" class="size-full wp-image-33468 aligncenter" src="https://anonyviet.com/wp-content/uploads/2021/09/Command-Prompt-Command-Not-Recognized.jpg" alt="Basic CMD familiarization guide for newbies 9" width="564" height="193" srcset="https://anonyviet.com/wp-content/uploads/2021/09/Command-Prompt-Command-Not-Recognized.jpg 564w, https://anonyviet.com/wp-content/uploads/2021/09/Command-Prompt-Command-Not-Recognized-300x103.jpg 300w" sizes="auto, (max-width: 564px) 100vw, 564px" title="Basic CMD tutorial for newbies 13"/></p>
<p>This isn&#8217;t really a problem, it saves you the risk of accidentally typing the wrong command or using the command in an unexpected way.  For example, when trying to delete a file, you may accidentally tell cmd to delete an entire directory.</p>
<p>The command line will run whatever command you type, as long as it&#8217;s valid.  So you should always double check what you&#8217;re about to do before you start.</p>
<h2 id="ftoc-cac-lenh-co-ban-ve-command-prompt-danh-cho-nguoi-moi-bat-dau" class="ftwp-heading">Command Prompt Basics for Beginners</h2>
<p>There are many Command Prompt commands and most of them are not intuitive for newbies.  Learning these commands takes time, so it&#8217;s best to slowly build up your knowledge rather than learning to dance.</p>
<p>You can also see more articles about my cmd command<a target="_blank" href="https://en.anonyviet.com/next-link?url=https%3A%2F%2Fanonyviet.com%2Ftag%2Fcmd%2F" rel="noopener" class="local-link"> here.</a></p>
<h3 id="ftoc-cach-xem-huong-dan-lenh" class="ftwp-heading">How to view command instructions</h3>
<p><img decoding="async" loading="lazy" class="size-full wp-image-33469 aligncenter" src="https://anonyviet.com/wp-content/uploads/2021/09/CMD-Help-Example-Commands.jpg" alt="Basic CMD tutorial for newbies 10" width="571" height="353" srcset="https://anonyviet.com/wp-content/uploads/2021/09/CMD-Help-Example-Commands.jpg 571w, https://anonyviet.com/wp-content/uploads/2021/09/CMD-Help-Example-Commands-300x185.jpg 300w" sizes="auto, (max-width: 571px) 100vw, 571px" title="Basic CMD tutorial for newbies 14"/></p>
<p>Command <strong>help </strong>will list many common commands you can use.  This command will also explain each command for you to use, so you don&#8217;t need to waste time looking for it.</p>
<p>If you want more specific information on how to use a certain command, type that command and add <strong>/?</strong>.  This option will give you more help, along with additional options to modify how the command works.</p>
<h3 id="ftoc-liet-ke-va-thay-doi-thu-muc" class="ftwp-heading">List and change directory</h3>
<p><img decoding="async" loading="lazy" class="size-full wp-image-33470 aligncenter" src="https://anonyviet.com/wp-content/uploads/2021/09/Windows-Directory-Command-Example.jpg" alt="Basic CMD familiarization guide for newbies 11" width="567" height="313" srcset="https://anonyviet.com/wp-content/uploads/2021/09/Windows-Directory-Command-Example.jpg 567w, https://anonyviet.com/wp-content/uploads/2021/09/Windows-Directory-Command-Example-300x166.jpg 300w" sizes="auto, (max-width: 567px) 100vw, 567px" title="Basic CMD tutorial for beginners 15"/></p>
<p>Command <strong>dir</strong>stands for <strong>directory</strong>, will list the contents of the current directory.  As mentioned earlier, you can check the current directory location by looking at the first command on the left.</p>
<p>To change current directory location, use <strong>CD</strong> (stands for <strong>change directory</strong>) followed by the directory you want to access.  The available directories are highlighted when you run the dir command.</p>
<p>For example, to move to the Desktop folder from the default folder, you would type<strong> cd Desktop</strong>.  And to move back one directory, use the command key <strong>CD..</strong></p>
<h3 id="ftoc-tao-xoa-tep-va-thu-muc" class="ftwp-heading">Create, delete files and folders</h3>
<p>Use<strong> mkdir [tên thư mục mới]</strong>  to create a new folder.  Eg: <strong>mkdir Awesome Pics</strong> will create a folder called Awesome Pics.</p>
<p>The same, similar, <strong>rmdir [tên thư mục]</strong>  will delete a directory, but only if it is empty.  To delete a file, use <strong>del [tên tệp].</strong></p>
<h3 id="ftoc-quan-ly-cmd" class="ftwp-heading">Manage CMD</h3>
<p>If there&#8217;s too much clutter on the Command Prompt screen, type <strong>cls</strong> to delete the command content.  And if there is a running command that you want to cancel, press Ctrl + C to end it.</p>
<h3 id="ftoc-lenh-kiem-tra-mang" class="ftwp-heading">Network test command</h3>
<p>Some of the most useful Command Prompt commands are related to networking.  Commands like <strong>ping</strong> allows you to see if your computer can connect to the site and how long it takes.  Meanwhile, the command <strong>ipconfig</strong> allows you to see the network overview of the current connection.</p>
<p><img decoding="async" loading="lazy" class="size-full wp-image-33471 aligncenter" src="https://anonyviet.com/wp-content/uploads/2021/09/Ping-CMD-Example.jpg" alt="Basic CMD tutorial for newbies 12" width="569" height="242" srcset="https://anonyviet.com/wp-content/uploads/2021/09/Ping-CMD-Example.jpg 569w, https://anonyviet.com/wp-content/uploads/2021/09/Ping-CMD-Example-300x128.jpg 300w" sizes="auto, (max-width: 569px) 100vw, 569px" title="Basic CMD tutorial for newbies 16"/></p>
<p>Now you are familiar with the basic commands in Command Prompt, even if you have never used CMD before.  Some tasks, such as file and folder management, can be confusing if you&#8217;re used to the GUI.  But for other tasks, like checking your IP address, running the CMD command is much faster and more convenient than using the GUI.</p>
<p>While most CMD commands are specific to the Windows environment, Windows 10 now also lets you run the Bash shell used by Linux, macOS, and many other operating systems using WSL.</p>
</p>
<div class="kk-star-ratings kksr-auto kksr-align-right kksr-valign-bottom" data-payload="{&quot;align&quot;:&quot;right&quot;,&quot;id&quot;:&quot;33465&quot;,&quot;slug&quot;:&quot;default&quot;,&quot;valign&quot;:&quot;bottom&quot;,&quot;ignore&quot;:&quot;&quot;,&quot;reference&quot;:&quot;auto&quot;,&quot;class&quot;:&quot;&quot;,&quot;count&quot;:&quot;100&quot;,&quot;legendonly&quot;:&quot;&quot;,&quot;readonly&quot;:&quot;&quot;,&quot;score&quot;:&quot;5&quot;,&quot;starsonly&quot;:&quot;&quot;,&quot;best&quot;:&quot;5&quot;,&quot;gap&quot;:&quot;5&quot;,&quot;greet&quot;:&quot;\u0110\u00e1nh gi\u00e1 b\u00e0i vi\u1ebft post&quot;,&quot;legend&quot;:&quot;B\u00e0i vi\u1ebft \u0111\u1ea1t: 5\/5 - (100 b\u00ecnh ch\u1ecdn)&quot;,&quot;size&quot;:&quot;24&quot;,&quot;width&quot;:&quot;142.5&quot;,&quot;_legend&quot;:&quot;B\u00e0i vi\u1ebft \u0111\u1ea1t: {score}\/{best} - ({count} {votes})&quot;,&quot;font_factor&quot;:&quot;1.25&quot;}">
<p>            The article achieved: 5/5 &#8211; (100 votes)    </p>
</p></div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://en.anonyviet.com/basic-cmd-tutorial-for-newbies/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<media:content url="https://anonyviet.com/wp-content/uploads/2021/09/Windows-Command-Line-Beginners-Featured-fixed.jpg" medium="image"></media:content>
            	</item>
		<item>
		<title>10 Basic Linux Commands for Newbies</title>
		<link>https://en.anonyviet.com/10-basic-linux-commands-for-newbies/</link>
					<comments>https://en.anonyviet.com/10-basic-linux-commands-for-newbies/#respond</comments>
		
		<dc:creator><![CDATA[AnonyViet]]></dc:creator>
		<pubDate>Sun, 01 Jan 2023 15:35:33 +0000</pubDate>
				<category><![CDATA[Network]]></category>
		<category><![CDATA[Basic]]></category>
		<category><![CDATA[commands]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Newbies]]></category>
		<guid isPermaLink="false">https://en.anonyviet.com/?p=247</guid>

					<description><![CDATA[If you&#8217;re new to Linux, I recommend you get started with the basic Linux commands on the terminal. Once you&#8217;re familiar with the commands, you&#8217;ll find that Linux and Mac have a lot in common, but the commands on Windows have less in common. We will find that out in the next article. Basic linux [&#8230;]]]></description>
										<content:encoded><![CDATA[
<div id="ftwp-postcontent">
<p><strong>If you&#8217;re new to Linux, I recommend you get started with the basic Linux commands on the terminal.  Once you&#8217;re familiar with the commands, you&#8217;ll find that Linux and Mac have a lot in common, but the commands on Windows have less in common.  We will find that out in the next article.</strong></p>
<p><img post-id="247" fifu-featured="1" decoding="async" class="aligncenter wp-image-35150 size-full" src="https://anonyviet.com/wp-content/uploads/2021/10/linux-laptop.jpg" alt="10 Basic Linux Commands for Newbies" title="10 Basic Linux Commands for Newbies" width="900" height="506" srcset="https://anonyviet.com/wp-content/uploads/2021/10/linux-laptop.jpg 900w, https://anonyviet.com/wp-content/uploads/2021/10/linux-laptop-300x169.jpg 300w, https://anonyviet.com/wp-content/uploads/2021/10/linux-laptop-768x432.jpg 768w, https://anonyviet.com/wp-content/uploads/2021/10/linux-laptop-750x422.jpg 750w" sizes="(max-width: 900px) 100vw, 900px" title="10 Basic Linux Commands for Newbies 25"/></p>
<h2 id="ftoc-cac-lenh-linux-co-ban" class="ftwp-heading">Basic linux commands</h2>
<p>Linux novices are often surprised at the amount of time longtime Linux users spend on the command line.  There are many good reasons why terminals are so popular.  For system administrators, this is by far the most flexible and powerful way to give commands to your computer.  You can type more commands with more options, your desktop environment and applications are controllable via commands, and the command line is much faster than <a target="_blank" href="https://en.anonyviet.com/next-link?url=https%3A%2F%2Fanonyviet.com%2Fui-la-gi-tim-hieu-thuat-ngu-ui-trong-thiet-ke%2F" class="local-link" rel="noopener">GUI</a>.  You can also write repetitive tasks, create Alias, and write shell functions to improve performance.</p>
<p>If you are thinking of switching from Windows to Linux or just want to play with <a target="_blank" href="https://en.anonyviet.com/next-link?url=https%3A%2F%2Fanonyviet.com%2Fcai-dat-windows-subsystem-for-linux-2-windows-10%2F" class="local-link" rel="noopener">Windows Subsystem for Linux</a>, you will find the command line as a very refreshing and useful environment.  There are many commands available.  Therefore, there are also many new people who feel overwhelmed when using Linux.</p>
<p>Many commands on Linux have two-letter names that are quite confusing and difficult to remember.  But there are also commands that you might recognize if you have ever used cmd on Windows.  For example, commands like ping and netstat have the same name on Windows and Linux.</p>
<p>Exploring and memorizing commands for tasks you normally do is often a great way to get used to Linux.  But in this article, I have filtered out the 10 most commonly used commands on Linux, basic and simple commands will not be mentioned.</p>
<p>Changing directories with cd is the same on both platforms, and ls on Linux is the same as dir in Windows.  The Linux commands I have chosen are very useful and similar to Windows that you will be familiar with if you have used the Windows cmd.</p>
<h3 id="ftoc-1-hien-thi-noi-dung-cua-file-cat" class="ftwp-heading">1. Display the contents of the file: cat</h3>
<p>The cat command is a copy of the command <code>type</code> on Windows.  It shows the contents of the file in the terminal.  You can also join multiple files into a single file.</p>
<p>In the file “verse-1.txt” there is a poem.  We can check the contents of the file with the command <code>cat</code>:</p>
<pre>cat verse-1.text</pre>
<p>To see the contents of another file, we just need to type the name of that file:</p>
<pre>cat verse-2.txt</pre>
<p><img decoding="async" loading="lazy" class="size-full wp-image-35151 aligncenter" src="https://anonyviet.com/wp-content/uploads/2021/10/cat-newfile.jpg" alt="10 Basic Linux Commands for Newbies 21" width="483" height="203" srcset="https://anonyviet.com/wp-content/uploads/2021/10/cat-newfile.jpg 483w, https://anonyviet.com/wp-content/uploads/2021/10/cat-newfile-300x126.jpg 300w" sizes="auto, (max-width: 483px) 100vw, 483px" title="10 Basic Linux Commands for Newbies 26"/></p>
<p>To view both files at once with a single command, we pass both filenames to <code>cat</code>:</p>
<pre>cat verse-1.txt verse-2.txt</pre>
<p><img decoding="async" loading="lazy" class="size-full wp-image-35152 aligncenter" src="https://anonyviet.com/wp-content/uploads/2021/10/cat-v1-cat-v2.jpg" alt="10 Basic Linux Commands for Newbies 22" width="483" height="203" srcset="https://anonyviet.com/wp-content/uploads/2021/10/cat-v1-cat-v2.jpg 483w, https://anonyviet.com/wp-content/uploads/2021/10/cat-v1-cat-v2-300x126.jpg 300w" sizes="auto, (max-width: 483px) 100vw, 483px" title="10 Basic Linux Commands for Newbies 27"/></p>
<p>To create a new file containing the contents of two files, we can use the following command:</p>
<pre>cat verse-1.txt verse-2.txt &gt; newfile.text</pre>
<p><img decoding="async" loading="lazy" class="size-full wp-image-35153 aligncenter" src="https://anonyviet.com/wp-content/uploads/2021/10/cat-v1-v2.jpg" alt="10 Basic Linux Commands for Newbies 23" width="483" height="188" srcset="https://anonyviet.com/wp-content/uploads/2021/10/cat-v1-v2.jpg 483w, https://anonyviet.com/wp-content/uploads/2021/10/cat-v1-v2-300x117.jpg 300w" sizes="auto, (max-width: 483px) 100vw, 483px" title="10 Basic Linux Commands for Newbies 28"/></p>
<h3 id="ftoc-2-lien-ket-phan-mem-voi-cac-loai-tep-mimeopen" class="ftwp-heading">2. Associate the software with the file types: mimeopen</h3>
<p>The mimeopen command works like the Windows assoc command.  It associates a default program with a file type.</p>
<p>Windows uses file extensions to identify file types.  Linux does it differently.  It determines the file type by looking at the contents of the text file or the digital signature contained in the first few bytes of the digital file.</p>
<p>To establish a file association, use the command <code>mimeopen</code> with the -d option (default required) and enter the name of the file type you want to link.</p>
<pre>mimeopen -d kernel-article.mm</pre>
<p><img decoding="async" loading="lazy" class="size-full wp-image-35154 aligncenter" src="https://anonyviet.com/wp-content/uploads/2021/10/mimeopen-1.jpg" alt="10 Basic Linux Commands for Newbies 24" width="483" height="203" srcset="https://anonyviet.com/wp-content/uploads/2021/10/mimeopen-1.jpg 483w, https://anonyviet.com/wp-content/uploads/2021/10/mimeopen-1-300x126.jpg 300w" sizes="auto, (max-width: 483px) 100vw, 483px" title="10 Basic Linux Commands for Newbies 29"/></p>
<p>If the app you want to use is listed, enter its number.  In this example, the app we want is not listed.  So we can enter “6” and then type the command to launch the application.  I want to open this type of file with FreeMind, a mind mapping application.</p>
<p><img decoding="async" loading="lazy" class="size-full wp-image-35155 aligncenter" src="https://anonyviet.com/wp-content/uploads/2021/10/mimeopen-2.jpg" alt="10 Basic Linux Commands for Newbies 25" width="483" height="184" srcset="https://anonyviet.com/wp-content/uploads/2021/10/mimeopen-2.jpg 483w, https://anonyviet.com/wp-content/uploads/2021/10/mimeopen-2-300x114.jpg 300w" sizes="auto, (max-width: 483px) 100vw, 483px" title="10 Basic Linux Commands for Newbies 30"/></p>
<p>The application will be launched and open the file you are working on in the terminal.</p>
<p><img decoding="async" loading="lazy" class="size-full wp-image-35156 aligncenter" src="https://anonyviet.com/wp-content/uploads/2021/10/mimeopen-3.jpg" alt="10 Basic Linux Commands for Newbies 26" width="483" height="300" srcset="https://anonyviet.com/wp-content/uploads/2021/10/mimeopen-3.jpg 483w, https://anonyviet.com/wp-content/uploads/2021/10/mimeopen-3-300x186.jpg 300w" sizes="auto, (max-width: 483px) 100vw, 483px" title="10 Basic Linux Commands for Newbies 31"/></p>
<p>This application will be used to open those types of files.</p>
<h3 id="ftoc-3-dat-thuoc-tinh-tep-chmod" class="ftwp-heading">3. Set file properties: chmod</h3>
<p>Command <code>chmod</code> set the properties for the file, just like the command <code>attrib</code> on Windows.  On Linux, you can set permissions to read files, write files, and execute files.  These attributes can also be applied to directories.</p>
<p>Using the -l (long format) option with the ls command displays a list of characters for each file, which looks like this.</p>
<pre>-rwxrwxrwx</pre>
<p>If the first character is a hyphen “-” then the list represents a file.  If the first character is &#8220;d&#8221;, the list represents a directory.</p>
<p>The rest of the string is made up of three groups of three characters.  From the left, the first three characters show the owner&#8217;s file permissions, the middle three show the group&#8217;s file permissions, and the rightmost three characters show the permissions for other users .</p>
<p>In each group, from left to right, the characters represent read, write, and execute permissions.  If there is “r”, “w”, or “x”, that attribute is enabled.  If a letter has been replaced with a dash “-” then that permission is not enabled.</p>
<p>An easy way to use <code>chmod</code> is to represent each of the right triples by one digit.  By providing a three-digit number for <code>chmod</code>, you can set permissions for owners, groups, and other users.  The leftmost digit represents the owner.  The middle digit represents the group.  The rightmost digit represents the other digits.  The digits range from 0 to 7.</p>
<ul>
<li>0: No permissions</li>
<li>1: Enforce permissions</li>
<li>2: Permission to write</li>
<li>3: Write and execute permissions</li>
<li>4: Permission to read</li>
<li>5: Read and execute permissions</li>
<li>6: Read and write permission</li>
<li>7: Read, write and execute permissions</li>
</ul>
<p>The file “howtogeek.txt” has full permissions set up for everyone.  We will change to full permissions for owner (7), read and write (6) for the group, and read (4) for all other users.</p>
<pre>ls -l howtogeek.text</pre>
<pre>chmod 764 howtogeek.txt</pre>
<pre>ls -l howtogeek.text</pre>
<p><img decoding="async" loading="lazy" class="size-full wp-image-35160 aligncenter" src="https://anonyviet.com/wp-content/uploads/2021/10/chmod.jpg" alt="10 Basic Linux Commands for Newbies 27" width="483" height="143" srcset="https://anonyviet.com/wp-content/uploads/2021/10/chmod.jpg 483w, https://anonyviet.com/wp-content/uploads/2021/10/chmod-300x89.jpg 300w" sizes="auto, (max-width: 483px) 100vw, 483px" title="10 Basic Linux Commands for Newbies 32"/></p>
<h3 id="ftoc-4-tim-chuoi-grep" class="ftwp-heading">4. Find string: grep</h3>
<p>Windows has a command <code>find</code>.  It searches text files for matching strings.  The Linux equivalent is <code>grep</code>.  The versatility and sophistication of grep may surprise you, but its fundamentals are simple.  It scans through the text for matching strings.</p>
<p>To search in the file “/etc/passwd” for string entries with “dave”, we use the following command:</p>
<pre>grep dave /etc/passwd</pre>
<p><img decoding="async" loading="lazy" class="size-full wp-image-35161 aligncenter" src="https://anonyviet.com/wp-content/uploads/2021/10/grep-1.jpg" alt="10 Basic Linux Commands for Newbies 28" width="483" height="71" srcset="https://anonyviet.com/wp-content/uploads/2021/10/grep-1.jpg 483w, https://anonyviet.com/wp-content/uploads/2021/10/grep-1-300x44.jpg 300w" sizes="auto, (max-width: 483px) 100vw, 483px" title="10 Basic Linux Commands for Newbies 33"/></p>
<p>The string doesn&#8217;t need to be a complete word.  In fact, you can search using a set of wildcards and regular expressions.</p>
<pre>grep ove verse-1.txt</pre>
<p><img decoding="async" loading="lazy" class="size-full wp-image-35162 aligncenter" src="https://anonyviet.com/wp-content/uploads/2021/10/grep-2.jpg" alt="10 Basic Linux Commands for Newbies 29" width="483" height="83" srcset="https://anonyviet.com/wp-content/uploads/2021/10/grep-2.jpg 483w, https://anonyviet.com/wp-content/uploads/2021/10/grep-2-300x52.jpg 300w" sizes="auto, (max-width: 483px) 100vw, 483px" title="10 Basic Linux Commands for Newbies 34"/></p>
<p>You can also use grep to search through the output from another command.  The ps command lists running processes.  The -e (everything) option lists all processes.  We can convert it to grep and look for processes with “naut” in the name.</p>
<pre>ps -e | grep naut</pre>
<p><img decoding="async" loading="lazy" class="size-full wp-image-35163 aligncenter" src="https://anonyviet.com/wp-content/uploads/2021/10/grep-3.jpg" alt="10 Basic Linux Commands for Newbies 30" width="483" height="71" srcset="https://anonyviet.com/wp-content/uploads/2021/10/grep-3.jpg 483w, https://anonyviet.com/wp-content/uploads/2021/10/grep-3-300x44.jpg 300w" sizes="auto, (max-width: 483px) 100vw, 483px" title="10 Basic Linux Commands for Newbies 35"/></p>
<h3 id="ftoc-5-tim-su-khac-biet-cua-tep-diff" class="ftwp-heading">5. Find file diff: diff</h3>
<p>Command <code>diff</code> on Linux, same as command <code>fc</code> on Windows.  It compares two files and finds the difference between them.  This is especially useful when you are comparing newer and older versions of source code, but it is also useful when you are testing two versions of any large text file.</p>
<p>To compare two files, enter the names of the two files as follows:</p>
<pre>diff core.c old-core.c</pre>
<p><img decoding="async" loading="lazy" class="size-full wp-image-35164 aligncenter" src="https://anonyviet.com/wp-content/uploads/2021/10/diff-1.jpg" alt="10 Basic Linux Commands for Newbies 31" width="483" height="285" srcset="https://anonyviet.com/wp-content/uploads/2021/10/diff-1.jpg 483w, https://anonyviet.com/wp-content/uploads/2021/10/diff-1-300x177.jpg 300w" sizes="auto, (max-width: 483px) 100vw, 483px" title="10 Basic Linux Commands for Newbies"/></p>
<p>Changes are lines that have been added, lines that have been removed, or lines that have been modified.  Each change is described in shorthand.  The shorthand lists the line number (or line range) in the first file, a letter, then the line number or numbers in the second file.  Letters can be:</p>
<ul>
<li>c: The line in the first file needs to be changed to match the line in the second file.</li>
<li>d: The line in the first file must be removed to match the second file.</li>
<li>a: Additional content must be added to the first file to match the second file.</li>
</ul>
<p>To see a side-by-side comparison, use the -y (sideways) option.  Using the -W (width) option is often more useful to limit the width of the output.</p>
<pre>diff -y -W 70 core.c old-core.c</pre>
<p><img decoding="async" loading="lazy" class="size-full wp-image-35165 aligncenter" src="https://anonyviet.com/wp-content/uploads/2021/10/diff-2.jpg" alt="10 Basic Linux Commands for Newbies 32" width="483" height="199" srcset="https://anonyviet.com/wp-content/uploads/2021/10/diff-2.jpg 483w, https://anonyviet.com/wp-content/uploads/2021/10/diff-2-300x124.jpg 300w" sizes="auto, (max-width: 483px) 100vw, 483px" title="10 Basic Linux Commands for Newbies 37"/></p>
<p>The lines are displayed side by side.  Lines changed, added, or removed are displayed with a symbol in the center of the screen.  The symbols can be:</p>
<ul>
<li>|: One line has been changed in the second file.</li>
<li><: A line has been removed from the second file.</li>
<li>>: The line that was added to the second file is not present in the first file.</li>
</ul>
<h3 id="ftoc-6-tim-dia-chi-ip-cua-ban-ip-addr" class="ftwp-heading">6. Find your IP address: ip addr</h3>
<p>Command <code>ipconfig</code> of Windows displays information about your network connection and IP address.  On Linux, there is a similar command as <code>ip</code> or <code>ifconfig</code>.  It has more objects and parameters, such as addr, that display information about your IP address.</p>
<pre>ip addr</pre>
<p><img decoding="async" loading="lazy" class="size-full wp-image-35167 aligncenter" src="https://anonyviet.com/wp-content/uploads/2021/10/ip-addr-1.jpg" alt="10 Basic Linux Commands for Newbies 33" width="483" height="285" srcset="https://anonyviet.com/wp-content/uploads/2021/10/ip-addr-1.jpg 483w, https://anonyviet.com/wp-content/uploads/2021/10/ip-addr-1-300x177.jpg 300w" sizes="auto, (max-width: 483px) 100vw, 483px" title="10 Basic Linux Commands for Newbies 38"/></p>
<p>You will find your IP address in the output.  In this example, the IP address shown is 192.168.1.40/24.  That means, the IP address is 192.168.1.40 and the mask is 255.255.255.0.  “/24” is a classless interdomain routing symbol for a network mask with three sets of 8 bits set to 1.</p>
<p>There is a lot of information available through the command <code>ip</code>.</p>
<h3 id="ftoc-7-kham-pha-thong-tin-mang-netstat" class="ftwp-heading">7. Discover network information: netstat</h3>
<p>Command <code>netstat</code> of Windows with the same name on Linux.  Command <code>netstat</code> of Linux displays information about your network connections, including sockets and other data structures.  If <code>netstat</code> is not installed on your computer, you can install it using the distribution&#8217;s package manager.</p>
<p>To see which TCP/IP sockets are listening, use the -l (listening) and -t (TCP/IP) options:</p>
<pre>netstat -lt</pre>
<p><img decoding="async" loading="lazy" class="size-full wp-image-35168 aligncenter" src="https://anonyviet.com/wp-content/uploads/2021/10/netstat-1.jpg" alt="10 Basic Linux Commands for Newbies 34" width="483" height="266" srcset="https://anonyviet.com/wp-content/uploads/2021/10/netstat-1.jpg 483w, https://anonyviet.com/wp-content/uploads/2021/10/netstat-1-300x165.jpg 300w" sizes="auto, (max-width: 483px) 100vw, 483px" title="10 Basic Linux Commands for Newbies 39"/></p>
<h3 id="ftoc-8-khac-phuc-su-co-ket-noi-ping" class="ftwp-heading">8. Troubleshoot connection: ping</h3>
<p>Another command with the same name on Windows is <code>ping</code>.  This is a great tool to check network connections and see if there is a valid connection between networked devices.</p>
<p>It sends ICMP ECHO_REQUEST packets to the remote device and listens for the response.  It then tells you whether a connection can be made and the average packet time in milliseconds.</p>
<p>You can use ping with IP address or domain and network.</p>
<pre>ping www.howtogeek.com</pre>
<p><img decoding="async" loading="lazy" class="size-full wp-image-35169 aligncenter" src="https://anonyviet.com/wp-content/uploads/2021/10/ping-1.jpg" alt="10 Basic Linux Commands for Newbies 35" width="483" height="236" srcset="https://anonyviet.com/wp-content/uploads/2021/10/ping-1.jpg 483w, https://anonyviet.com/wp-content/uploads/2021/10/ping-1-300x147.jpg 300w" sizes="auto, (max-width: 483px) 100vw, 483px" title="10 Basic Linux Commands For Newbies 40"/></p>
<p>To send a specific number of ping requests, use the -c (count) option.</p>
<pre>ping -c 4 www.howtogeek.com</pre>
<p><img decoding="async" loading="lazy" class="size-full wp-image-35170 aligncenter" src="https://anonyviet.com/wp-content/uploads/2021/10/ping-2.jpg" alt="10 Basic Linux Commands for Newbies" width="483" height="236" srcset="https://anonyviet.com/wp-content/uploads/2021/10/ping-2.jpg 483w, https://anonyviet.com/wp-content/uploads/2021/10/ping-2-300x147.jpg 300w" sizes="auto, (max-width: 483px) 100vw, 483px" title="10 Basic Linux Commands for Newbies 41"/></p>
<h3 id="ftoc-9-kham-pha-chi-tiet-phan-cung-lshw" class="ftwp-heading">9. Exploring hardware details: lshw</h3>
<p>Windows command line users will be familiar with the command <code>systeminfo</code>.  Command <code>lshw</code> of Linux provides the same feature.  You may need to install this command on some distributions.</p>
<p>There is a lot of output from this command.  Also, use sudo with this command so it has access to system files and streams.</p>
<pre>sudo lshw | less</pre>
<p><img decoding="async" loading="lazy" class="size-full wp-image-35171 aligncenter" src="https://anonyviet.com/wp-content/uploads/2021/10/lshw-1.jpg" alt="10 Basic Linux Commands for Newbies 37" width="483" height="285" srcset="https://anonyviet.com/wp-content/uploads/2021/10/lshw-1.jpg 483w, https://anonyviet.com/wp-content/uploads/2021/10/lshw-1-300x177.jpg 300w" sizes="auto, (max-width: 483px) 100vw, 483px" title="10 Basic Linux Commands for Newbies 42"/></p>
<p>For an overview, use the -short option.</p>
<pre>sudo lshow -short</pre>
<p><img decoding="async" loading="lazy" class="size-full wp-image-35172 aligncenter" src="https://anonyviet.com/wp-content/uploads/2021/10/lshw-2.jpg" alt="10 Basic Linux Commands for Newbies 38" width="483" height="285" srcset="https://anonyviet.com/wp-content/uploads/2021/10/lshw-2.jpg 483w, https://anonyviet.com/wp-content/uploads/2021/10/lshw-2-300x177.jpg 300w" sizes="auto, (max-width: 483px) 100vw, 483px" title="10 Basic Linux Commands for Newbies 43"/></p>
<h3 id="ftoc-10-xac-dinh-lo-trinh-cua-goi-traceroute" class="ftwp-heading">10. Determine Package Route: traceroute</h3>
<p>Command <code>traceroute</code> in Linux is similar to the command <code>tracert</code> of Windows.  This command counts hops from the router as packets travel from your computer to the remote device.  Some devices do not reveal much information about these packages.  These secret devices are displayed as a single line of asterisks “*” in the output.</p>
<p>You can use <code>traceroute</code> with IP address or domain name and device.</p>
<pre>traceroute www.blarneycastle.ie</pre>
<p><img decoding="async" loading="lazy" class="size-full wp-image-35173 aligncenter" src="https://anonyviet.com/wp-content/uploads/2021/10/traceroute-1.jpg" alt="10 Basic Linux Commands for Newbies 39" width="483" height="221" srcset="https://anonyviet.com/wp-content/uploads/2021/10/traceroute-1.jpg 483w, https://anonyviet.com/wp-content/uploads/2021/10/traceroute-1-300x137.jpg 300w" sizes="auto, (max-width: 483px) 100vw, 483px" title="10 Basic Linux Commands for Newbies 44"/></p>
<h2 id="ftoc-mot-the-gioi-cua-su-khac-biet" class="ftwp-heading">A world of difference</h2>
<p>Windows and Linux are two different platforms, but they have some commands in common — and even command names.  That&#8217;s not too surprising.  Windows sockets come from Unix, so there is bound to be some overlap in terminology in the two operating systems.</p>
<div class="kk-star-ratings kksr-auto kksr-align-right kksr-valign-bottom" data-payload="{&quot;align&quot;:&quot;right&quot;,&quot;id&quot;:&quot;35146&quot;,&quot;slug&quot;:&quot;default&quot;,&quot;valign&quot;:&quot;bottom&quot;,&quot;ignore&quot;:&quot;&quot;,&quot;reference&quot;:&quot;auto&quot;,&quot;class&quot;:&quot;&quot;,&quot;count&quot;:&quot;100&quot;,&quot;legendonly&quot;:&quot;&quot;,&quot;readonly&quot;:&quot;&quot;,&quot;score&quot;:&quot;5&quot;,&quot;starsonly&quot;:&quot;&quot;,&quot;best&quot;:&quot;5&quot;,&quot;gap&quot;:&quot;5&quot;,&quot;greet&quot;:&quot;\u0110\u00e1nh gi\u00e1 b\u00e0i vi\u1ebft post&quot;,&quot;legend&quot;:&quot;B\u00e0i vi\u1ebft \u0111\u1ea1t: 5\/5 - (100 b\u00ecnh ch\u1ecdn)&quot;,&quot;size&quot;:&quot;24&quot;,&quot;width&quot;:&quot;142.5&quot;,&quot;_legend&quot;:&quot;B\u00e0i vi\u1ebft \u0111\u1ea1t: {score}\/{best} - ({count} {votes})&quot;,&quot;font_factor&quot;:&quot;1.25&quot;}">
<p>            The article achieved: 5/5 &#8211; (100 votes)    </p>
</p></div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://en.anonyviet.com/10-basic-linux-commands-for-newbies/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<media:content url="https://anonyviet.com/wp-content/uploads/2021/10/linux-laptop.jpg" medium="image"></media:content>
            	</item>
	</channel>
</rss>
