<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: PriyanshuRaj</title>
    <description>The latest articles on DEV Community by PriyanshuRaj (@itspriyanshuraj).</description>
    <link>https://dev.to/itspriyanshuraj</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F768189%2Fff36abc7-9552-4aa2-9b36-9dd2befb6902.jpeg</url>
      <title>DEV Community: PriyanshuRaj</title>
      <link>https://dev.to/itspriyanshuraj</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/itspriyanshuraj"/>
    <language>en</language>
    <item>
      <title>WSl2 (Windows Subsystem for Linux) essential commands.</title>
      <dc:creator>PriyanshuRaj</dc:creator>
      <pubDate>Sat, 18 Dec 2021 14:17:24 +0000</pubDate>
      <link>https://dev.to/itspriyanshuraj/wsl2-windows-subsystem-for-linux-essential-commands-2io1</link>
      <guid>https://dev.to/itspriyanshuraj/wsl2-windows-subsystem-for-linux-essential-commands-2io1</guid>
      <description>&lt;p&gt;Many of us are using WSL or WSL2 because its hassle free and easy to setup and also fast. In this blog i will explain some basic commands of wsl to get you started.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is WSl?
&lt;/h2&gt;

&lt;p&gt;Windows Subsystem for Linux is a compatibility layer for running Linux binary executables natively on Windows 10, Windows 11, and Windows Server 2019.&lt;/p&gt;

&lt;p&gt;The Windows Subsystem for Linux lets developers run a GNU/Linux environment -- including most command-line tools, utilities, and applications -- directly on Windows, unmodified, without the overhead of a traditional virtual machine or dualboot setup which is pretty cool and hassle free.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is WSl2?
&lt;/h2&gt;

&lt;p&gt;WSL 2 is a new version of the Windows Subsystem for Linux architecture that powers the Windows Subsystem for Linux to run ELF64 Linux binaries on Windows. Its primary goals are to increase file system performance, as well as adding full system call compatibility.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;The major difference between WSL and WSL2 is full support system call compatibility and increased file system performance.&lt;br&gt;
According to Microsoft, WSL2 uses an actual full linux kernel running on a managed VM (virtual Machine) with fast boot times.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  To install wsl2 or wsl visit the link below.
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://docs.microsoft.com/en-us/windows/wsl/install"&gt;WSl/WSL2 install guide&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  WSL commands.
&lt;/h2&gt;

&lt;p&gt;Here are some wsl commands used mostly with explantions..&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1.&lt;/strong&gt;&lt;code&gt;wsl --install&lt;/code&gt;&lt;br&gt;
Install WSL and the Ubuntu distribution of Linux.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2.&lt;/strong&gt; &lt;code&gt;wsl --install --distribution &amp;lt;Distribution Name&amp;gt;&lt;/code&gt;&lt;br&gt;
Install a specific Linux distribution besides the default (Ubuntu) by replacing  with the name of the distribution. This command can also be entered as: wsl -d .&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3.&lt;/strong&gt; &lt;code&gt;wsl --list --online&lt;/code&gt;&lt;br&gt;
See a list of the Linux distributions available through the online store. This command can also be entered as: wsl -l -o.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4.&lt;/strong&gt; &lt;code&gt;wsl --list --verbose&lt;/code&gt;&lt;br&gt;
See a list of the Linux distributions installed on your Windows machine, including the state (whether the distribution is running or stopped) and the version of WSL running the distribution (WSL 1 or WSL 2). &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;5.&lt;/strong&gt; &lt;code&gt;wsl --set-version &amp;lt;distribution name&amp;gt; &amp;lt;versionNumber&amp;gt;&lt;/code&gt;&lt;br&gt;
Set WSL version to 1 or 2.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;6.&lt;/strong&gt; &lt;code&gt;wsl --set-default-version &amp;lt;Version&amp;gt;&lt;/code&gt;&lt;br&gt;
To set a default version of WSL 1 or WSL 2, replacing  with either the number 1 or 2 to represent which version of WSL you would like the installation to default on for new Linux distribution installations.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;7.&lt;/strong&gt; &lt;code&gt;wsl --set-default &amp;lt;Distribution Name&amp;gt;&lt;/code&gt;&lt;br&gt;
To set the default Linux distribution that WSL commands will use to run, replace  with the name of your preferred Linux distribution.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;8.&lt;/strong&gt; &lt;code&gt;wsl ~&lt;/code&gt;&lt;br&gt;
To Change directory to home.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;9.&lt;/strong&gt; &lt;code&gt;wsl --distribution &amp;lt;Distribution Name&amp;gt; --user &amp;lt;User Name&amp;gt;&lt;/code&gt;&lt;br&gt;
Run a specific Linux distribution from PowerShell or CMD&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;10.&lt;/strong&gt; &lt;code&gt;wsl --update&lt;/code&gt;&lt;br&gt;
Update Wsl&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;11.&lt;/strong&gt; &lt;code&gt;wsl --status&lt;/code&gt;&lt;br&gt;
Check WSL status PowerShell&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;12.&lt;/strong&gt; &lt;code&gt;wsl --help&lt;/code&gt;&lt;br&gt;
See a list of options and commands available with WSL.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;13&lt;/strong&gt; &lt;code&gt;wsl -u &amp;lt;Username&amp;gt;&lt;/code&gt;, &lt;code&gt;wsl --user &amp;lt;Username&amp;gt;&lt;/code&gt;&lt;br&gt;
Run as a specific user&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;14.&lt;/strong&gt; &lt;code&gt;&amp;lt;DistributionName&amp;gt; config --default-user &amp;lt;Username&amp;gt;&lt;/code&gt;&lt;br&gt;
Change the default user for a distribution&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;15.&lt;/strong&gt; &lt;code&gt;wsl --shutdown&lt;/code&gt;&lt;br&gt;
To Shutdown/ Immediately terminates all running distributions and the WSL 2 lightweight utility virtual machine.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;16.wsl&lt;/strong&gt; &lt;code&gt;--terminate &amp;lt;Distribution Name&amp;gt;&lt;/code&gt;&lt;br&gt;
To terminate the specified distribution, or stop it from running, replace  with the name of the targeted distribution.&lt;/p&gt;

</description>
      <category>wsl2</category>
      <category>linux</category>
      <category>tutorial</category>
      <category>weeklyretro</category>
    </item>
    <item>
      <title>Introduction to HTML, Day 1 of #100DaysofCode </title>
      <dc:creator>PriyanshuRaj</dc:creator>
      <pubDate>Sun, 05 Dec 2021 18:19:12 +0000</pubDate>
      <link>https://dev.to/itspriyanshuraj/introduction-to-html-day-1-of-100daysofcode-4hgd</link>
      <guid>https://dev.to/itspriyanshuraj/introduction-to-html-day-1-of-100daysofcode-4hgd</guid>
      <description>&lt;p&gt;""Day 1 of 100DaysofCode""&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Day 1&lt;/strong&gt; &lt;br&gt;
It was all about learning some basics of HTML through documentation and YouTube videos.&lt;br&gt;
Topics that I have learned today are Html Title, Script, Link, Meta, Heading , Paragraph, Image and Anchor Tags.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Title Tag:&lt;br&gt;
The title tag defines the title of the document. The title must be text-only, and it is shown in the browser's title bar or in the page's tab.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Script Tag:&lt;br&gt;
The script tag is used to embed a client-side script (JavaScript).&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Link Tag:&lt;br&gt;
The link tag defines the relationship between the current document and an external resource.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Meta Tag:&lt;br&gt;
The meta tag defines metadata about an HTML document. Metadata is data (information) about data.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Heading Tag:&lt;br&gt;
Contains metadata/information for the document&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Paragraph Tag:&lt;br&gt;
Defines a paragraph.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Image Tag:&lt;br&gt;
The img tag is used to embed an image in an HTML page.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Anchor Tag:&lt;br&gt;
The a tag defines a hyperlink, which is used to link from one page to another.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Will Share some small projects soon made on these tags.&lt;/p&gt;

</description>
      <category>html</category>
      <category>webdev</category>
      <category>beginners</category>
      <category>css</category>
    </item>
    <item>
      <title>Getting Started With #100DaysofCode.</title>
      <dc:creator>PriyanshuRaj</dc:creator>
      <pubDate>Sat, 04 Dec 2021 17:16:16 +0000</pubDate>
      <link>https://dev.to/itspriyanshuraj/getting-started-with-100daysofcode-m3m</link>
      <guid>https://dev.to/itspriyanshuraj/getting-started-with-100daysofcode-m3m</guid>
      <description>&lt;p&gt;&lt;strong&gt;Who am I?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Hey there, I am Priyanshu Raj an Aspiring Developer from India and a 3rd year student in Bachelors of Computer Science Engineering. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why am I here?&lt;/strong&gt;&lt;br&gt;
I am going to start the 100DaysofCode challenge as way to learn new stuffs and be consistent in learning. I have decided to share whatever I am going to learn in this challenge through dev.io.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What is 100DaysofCode?&lt;/strong&gt;&lt;br&gt;
As the name sounds , it is challenge in which someone starts coding/learning for 100days, started and popular on twitter.&lt;/p&gt;

&lt;p&gt;DAY 0:&lt;br&gt;
Starting of with some details about what i am going to learn for now.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;HTML /HTML5&lt;/li&gt;
&lt;li&gt;Basics of CSS&lt;/li&gt;
&lt;li&gt;Some JavaScript also&lt;/li&gt;
&lt;li&gt;Linux (Completely for sure).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Useful links for all the readers:&lt;br&gt;
&lt;a href="https://www.100daysofcode.com/"&gt;100DaysofCode&lt;/a&gt;&lt;br&gt;
&lt;a href="https://twitter.com/itsPriyanshuRaj"&gt;MyTwitter&lt;/a&gt;&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>programming</category>
      <category>css</category>
      <category>100daysofcode</category>
    </item>
  </channel>
</rss>
