<?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: Rajat Saxena</title>
    <description>The latest articles on DEV Community by Rajat Saxena (@rajat1saxena).</description>
    <link>https://dev.to/rajat1saxena</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%2F306052%2F2e840add-9889-4e5a-80d1-5d61d2fee1dc.jpeg</url>
      <title>DEV Community: Rajat Saxena</title>
      <link>https://dev.to/rajat1saxena</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/rajat1saxena"/>
    <language>en</language>
    <item>
      <title>Using FreeBSD As A Linux User</title>
      <dc:creator>Rajat Saxena</dc:creator>
      <pubDate>Mon, 13 Jul 2020 20:03:22 +0000</pubDate>
      <link>https://dev.to/rajat1saxena/using-freebsd-as-a-linux-user-1dec</link>
      <guid>https://dev.to/rajat1saxena/using-freebsd-as-a-linux-user-1dec</guid>
      <description>&lt;p&gt;For the uninitiated, FreeBSD is not just another Linux distro. I &lt;a href="https://rubenerd.com/tutorial-sites-treating-freebsd-like-a-linux-distro/"&gt;learnt&lt;/a&gt; that today only. So I decided to give it a try. The installation was a breeze but my normal Linux workflow did not work out of the box.&lt;/p&gt;

&lt;p&gt;So, this is a quick post for the impatient developers like me who want to get up and running with FreeBSD as fast as possible.&lt;/p&gt;

&lt;h3&gt;
  
  
  Switching to Root
&lt;/h3&gt;

&lt;p&gt;Turns out FreeBSD does not come pre-installed with &lt;code&gt;sudo&lt;/code&gt; program, so your best bet is to spawn a new login shell and log in as &lt;code&gt;root&lt;/code&gt;.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nv"&gt;$ &lt;/span&gt;login
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;h3&gt;
  
  
  What is my IP
&lt;/h3&gt;

&lt;p&gt;There is no &lt;code&gt;curl&lt;/code&gt; or &lt;code&gt;wget&lt;/code&gt; either. There is &lt;code&gt;fetch&lt;/code&gt; though. Following is how you get your system's public IP.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nv"&gt;$ &lt;/span&gt;fetch &lt;span class="nt"&gt;-q&lt;/span&gt; http://wtfismyip.com/text&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="nb"&gt;cat &lt;/span&gt;text
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;&lt;em&gt;This post is a work in progress. I will publish more things as I discover them. Keep watching this space.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>linux</category>
      <category>ubuntu</category>
    </item>
  </channel>
</rss>
