<?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: UyiGodfrey</title>
    <description>The latest articles on DEV Community by UyiGodfrey (@uyigodfrey).</description>
    <link>https://dev.to/uyigodfrey</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%2F3384832%2F86ddbc69-59aa-45d3-b157-530cb38cd4d7.jpg</url>
      <title>DEV Community: UyiGodfrey</title>
      <link>https://dev.to/uyigodfrey</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/uyigodfrey"/>
    <language>en</language>
    <item>
      <title>Linux Commands I Wish I Knew When I Started</title>
      <dc:creator>UyiGodfrey</dc:creator>
      <pubDate>Thu, 24 Jul 2025 12:24:41 +0000</pubDate>
      <link>https://dev.to/uyigodfrey/linux-commands-i-wish-i-knew-when-i-started-1140</link>
      <guid>https://dev.to/uyigodfrey/linux-commands-i-wish-i-knew-when-i-started-1140</guid>
      <description>&lt;p&gt;When I first started learning DevOps, the Linux terminal felt intimidating. I didn’t know where to begin or what commands to trust. But after some trial and error, a few simple commands became my everyday tools — and they made all the difference.&lt;/p&gt;

&lt;p&gt;Here are the Linux basics that helped me survive and thrive:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;ls — List files
Use this to see what's in the current folder.
It's like opening a folder in your file explorer.
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;ls
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Tip:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;ls -l shows details (like size and date).&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;ls -a reveals hidden files.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;ol&gt;
&lt;li&gt;cd — Change directory
Move around your file system easily.
Think of it like “entering” a folder.
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;cd foldername
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Useful shortcuts:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;cd .. goes back one level&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;cd / takes you to the root directory&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;cd ~ brings you to your home folder&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;ol&gt;
&lt;li&gt;pwd — Show where you are
This command tells you your exact location in the file system.
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;pwd
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;It’s very useful when you're deep in folders and need to double-check your path.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;touch and mkdir — Create files and folders
Quick ways to build your environment.
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;touch filename.txt      # creates a file
mkdir myfolder          # creates a new directory
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;These are great for practice or creating test setups.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;sudo — Run with admin power (carefully!)
Some commands need special privileges. sudo gives you those powers (like an admin mode).
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;sudo command
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;sudo apt update
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;⚠️ Be careful with sudo. It can change important system files.&lt;/p&gt;

&lt;p&gt;Bonus: Combine them like a pro&lt;br&gt;
You can chain commands to get more done in one line. For example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;sudo mkdir /opt/myfolder &amp;amp;&amp;amp; cd /opt/myfolder
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This creates a folder with superuser access and instantly moves you into it.&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
