<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Learning Linux]]></title><description><![CDATA[Learning Linux]]></description><link>https://30daysofcloud.hashnode.dev</link><generator>RSS for Node</generator><lastBuildDate>Fri, 04 Dec 2026 22:40:48 GMT</lastBuildDate><atom:link href="https://30daysofcloud.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[My Linux Learning Week: Essential Commands I Practiced on AWS EC2]]></title><description><![CDATA[Five days of hands-on Linux practice covering file archiving, networking, HTTP tools, system monitoring, and text processing. Linux is an important part of…]]></description><link>https://30daysofcloud.hashnode.dev/my-linux-learning-week-essential-commands-i-practiced-on-aws-ec2</link><guid isPermaLink="true">https://30daysofcloud.hashnode.dev/my-linux-learning-week-essential-commands-i-practiced-on-aws-ec2</guid><dc:creator><![CDATA[Sujal Kalkhambkar]]></dc:creator><pubDate>Sun, 29 Nov 2026 09:10:54 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/6a92622364e613a4d641d3de/2547964a-2be9-429f-996d-86f00f017f26.jpg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p><em>Five days of hands-on Linux practice covering file archiving, networking, HTTP tools, system monitoring, and text processing.</em></p>
<h2>Introduction</h2>
<p>Linux is an important part of cloud infrastructure and DevOps engineering. Many cloud workloads run on Linux servers, making Linux knowledge valuable for managing infrastructure, troubleshooting problems, and maintaining applications.</p>
<p>I continued my Linux learning journey by practicing commands on an AWS EC2 Ubuntu instance.</p>
<p>Instead of only learning command syntax, I focused on running commands, observing their output, and understanding their practical applications.</p>
<p>In this blog, I'm sharing the commands I practiced and the concepts I learned throughout the week.</p>
<h2>Day 1: File Archiving and Remote File Transfer</h2>
<h3>1. <code>tar</code> — Archiving and Compression</h3>
<p>The <code>tar</code> command is used to combine multiple files and directories into a single archive. It can also work with compression utilities such as gzip.</p>
<p><strong>Creating a compressed archive:</strong></p>
<pre><code class="language-bash">tar -cvzf cloud.tar.gz cloud/
</code></pre>
<p>Options explained:</p>
<ul>
<li><code>c</code> – Create a new archive.</li>
<li><code>v</code> – Display files being processed.</li>
<li><code>z</code> – Compress using gzip.</li>
<li><code>f</code> – Specify the archive filename.</li>
</ul>
<p><strong>Extracting an archive:</strong></p>
<pre><code class="language-bash">tar -xvzf cloud.tar.gz
</code></pre>
<ul>
<li><code>x</code> – Extract files.</li>
<li><code>v</code> – Display extraction details.</li>
<li><code>z</code> – Decompress gzip archive.</li>
<li><code>f</code> – Specify the archive filename.</li>
</ul>
<p><strong>Practical application:</strong> Creating backups, packaging application files, and preparing directories for transfer.</p>
<h3>2. <code>scp</code> — Secure Copy</h3>
<p>The <code>scp</code> command transfers files and directories between local and remote machines using SSH.</p>
<p>I practiced transferring an entire directory from an AWS EC2 instance to my local machine.</p>
<pre><code class="language-bash">scp -i key.pem -r ubuntu@&lt;EC2-HOST&gt;:/home/ubuntu/linux .
</code></pre>
<p>Options explained:</p>
<ul>
<li><code>-i</code> – Specifies the SSH private key.</li>
<li><code>-r</code> – Copies directories recursively.</li>
<li><code>ubuntu@&lt;EC2-HOST&gt;</code> – Remote username and server address.</li>
<li><code>/home/ubuntu/linux</code> – Source directory.</li>
<li><code>.</code> – Destination is the current local directory.</li>
</ul>
<p><strong>Practical application:</strong> Transferring application files, configuration files, and other resources between servers.</p>
<h2>Day 2: Network Diagnostics and Configuration</h2>
<p>Networking is essential when working with cloud infrastructure. Linux provides several utilities to inspect network interfaces, test connectivity, and troubleshoot communication problems.</p>
<p>Here are the commands I practiced.</p>
<h3>1. <code>ping</code> — Network Connectivity</h3>
<pre><code class="language-bash">ping youtube.com
</code></pre>
<p>The <code>ping</code> command sends ICMP Echo Request packets and measures the round-trip time of responses.</p>
<p>It helps check whether a destination is reachable and provides basic latency information.</p>
<h3>2. <code>tracepath</code> — Network Path Tracing</h3>
<pre><code class="language-bash">tracepath google.com
</code></pre>
<p>This command displays the network path towards a destination by identifying intermediate hops.</p>
<p>It can also provide Path MTU information, which helps understand packet-size limitations along the route.</p>
<h3>3. <code>netstat</code> — Network Statistics</h3>
<pre><code class="language-bash">netstat -tuln
</code></pre>
<p>The <code>netstat</code> utility displays network information such as connections, listening ports, and network statistics.</p>
<p>Options:</p>
<ul>
<li><code>t</code> – TCP connections.</li>
<li><code>u</code> – UDP connections.</li>
<li><code>l</code> – Listening sockets.</li>
<li><code>n</code> – Display numerical addresses and ports.</li>
</ul>
<p>It is useful for inspecting network services and listening ports.</p>
<h3>4. <code>mtr</code> — Network Diagnostics</h3>
<pre><code class="language-bash">mtr youtube.com
</code></pre>
<p><code>mtr</code> (My Traceroute) combines functionality similar to <code>ping</code> and traceroute.</p>
<p>It continuously displays information about network hops, including:</p>
<ul>
<li>Packet loss percentage.</li>
<li>Average latency.</li>
<li>Best and worst response times.</li>
<li>Number of packets sent.</li>
</ul>
<p>I found this particularly interesting because it allowed me to observe network performance as it updated.</p>
<h3>5. <code>whois</code> — Domain Registration Information</h3>
<pre><code class="language-bash">whois google.com
</code></pre>
<p>The <code>whois</code> command retrieves publicly available domain registration information.</p>
<p>It can display details such as:</p>
<ul>
<li>Domain registrar.</li>
<li>Registration and expiry dates.</li>
<li>Name servers.</li>
<li>Domain registration status.</li>
</ul>
<p>This was an interesting way to explore publicly available domain information.</p>
<h3>6. <code>ip address show</code> — Network Interfaces</h3>
<pre><code class="language-bash">ip address show
</code></pre>
<p>This command displays network interfaces and their assigned IP addresses.</p>
<p>Some common interface types include:</p>
<ul>
<li><code>lo</code> – Loopback interface.</li>
<li><code>eth0</code> – Ethernet interface.</li>
<li><code>docker0</code> – Docker bridge interface, when Docker is installed.</li>
</ul>
<p>It helps understand how network interfaces are configured on a Linux machine.</p>
<h3>7. <code>iw</code> — Wireless Network Information</h3>
<pre><code class="language-bash">iw dev
</code></pre>
<p>The <code>iw</code> utility is used to inspect and configure wireless devices on Linux.</p>
<p>It can display wireless interfaces and their properties.</p>
<h3>8. <code>ss</code> — Socket Statistics</h3>
<pre><code class="language-bash">ss -tuln
</code></pre>
<p>The <code>ss</code> command displays socket information, including TCP and UDP sockets and listening ports.</p>
<p>It is a modern alternative to many common <code>netstat</code> operations.</p>
<p><strong>My takeaway from Day 2:</strong> These tools helped me understand how Linux systems communicate with other machines and how to inspect network-related information.</p>
<h2>Day 3: HTTP and Web Tools</h2>
<p>This day focused on interacting with web servers and network services directly from the Linux terminal.</p>
<h3>1. <code>telnet</code> — Testing TCP Connections</h3>
<pre><code class="language-bash">telnet google.com 80
</code></pre>
<p>The <code>telnet</code> command can establish a TCP connection to a specified host and port.</p>
<p>I used it to test connectivity to a web server on port 80.</p>
<p>It also helped me understand that HTTP communication can be exchanged over a TCP connection using a text-based request.</p>
<h3>2. <code>curl</code> — Transferring Data</h3>
<pre><code class="language-bash">curl https://example.com
</code></pre>
<p>The <code>curl</code> command transfers data to and from URLs.</p>
<p>It supports multiple protocols and is commonly used for testing APIs and interacting with web services.</p>
<p>For an HTTP GET request:</p>
<pre><code class="language-bash">curl -X GET https://example.com
</code></pre>
<p>For formatted JSON output:</p>
<pre><code class="language-bash">curl -s https://api.example.com/users | jq
</code></pre>
<p>Here:</p>
<ul>
<li><code>-s</code> – Silent mode.</li>
<li><code>|</code> – Sends the output to another command.</li>
<li><code>jq</code> – Formats and processes JSON data.</li>
</ul>
<h3>3. <code>wget</code> — Downloading Files</h3>
<pre><code class="language-bash">wget https://example.com/file.pdf
</code></pre>
<p>The <code>wget</code> command downloads files from web servers.</p>
<p>It is useful for downloading resources directly from the terminal and automating downloads through scripts.</p>
<p><strong>My takeaway from Day 3:</strong> I became more comfortable interacting with web resources without depending on a graphical browser.</p>
<h2>Day 4: System Monitoring with <code>top</code></h2>
<h3><code>top</code> — Real-Time Process Monitoring</h3>
<pre><code class="language-bash">top
</code></pre>
<p>The <code>top</code> command provides a continuously updated view of system processes and resource utilization.</p>
<p>During practice, I explored:</p>
<p><strong>1. CPU usage</strong></p>
<p>Displays CPU utilization and idle time.</p>
<p><strong>2. Memory usage</strong></p>
<p>Shows information about total, free, used, and available memory.</p>
<p><strong>3. Process information</strong></p>
<p>Displays running and sleeping processes, along with their process IDs.</p>
<p><strong>4. Resource consumption</strong></p>
<p>Helps identify processes consuming CPU and memory resources.</p>
<p>I also observed processes such as:</p>
<ul>
<li><code>nginx</code></li>
<li><code>systemd</code></li>
<li><code>cron</code></li>
<li><code>dbus-daemon</code></li>
</ul>
<p>Understanding these processes gave me a better idea of what runs in the background on a Linux server.</p>
<p><strong>Practical application:</strong> Monitoring server performance and identifying resource-intensive processes.</p>
<h2>Day 5: Text Processing and Log Analysis</h2>
<p>This was one of the most interesting parts of my learning week.</p>
<p>Linux provides powerful text-processing utilities that help administrators and DevOps engineers inspect application logs, filter information, and process text files.</p>
<p>I practiced three important commands: <code>grep</code>, <code>awk</code>, and <code>sed</code>.</p>
<h3>1. <code>grep</code> — Searching Text</h3>
<p>The <code>grep</code> command searches for matching patterns in files.</p>
<p><strong>Search for INFO entries:</strong></p>
<pre><code class="language-bash">grep INFO app.log
</code></pre>
<p><strong>Perform a case-insensitive search:</strong></p>
<pre><code class="language-bash">grep -i info app.log
</code></pre>
<p><strong>Count matching lines:</strong></p>
<pre><code class="language-bash">grep -c INFO app.log
</code></pre>
<p>My practice result was:</p>
<pre><code class="language-text">15
</code></pre>
<p>This meant that 15 lines contained the matching INFO pattern.</p>
<h3>2. <code>awk</code> — Pattern Scanning and Processing</h3>
<p>The <code>awk</code> command is a powerful text-processing language.</p>
<p>It can search patterns, extract fields, and generate reports from structured text.</p>
<p><strong>Display lines containing INFO:</strong></p>
<pre><code class="language-bash">awk '/INFO/ {print}' app.log
</code></pre>
<p><strong>Display DEBUG entries:</strong></p>
<pre><code class="language-bash">awk '/DEBUG/ {print}' app.log
</code></pre>
<p>One useful feature of <code>awk</code> is its ability to access individual fields.</p>
<p>For example:</p>
<pre><code class="language-bash">awk '{print $1, $2}' app.log
</code></pre>
<p>This prints the first and second whitespace-separated fields from each line.</p>
<h3>3. <code>sed</code> — Stream Editor</h3>
<p>The <code>sed</code> command processes text streams and performs operations such as substitution.</p>
<p><strong>Replace INFO with DEBUG in the output:</strong></p>
<pre><code class="language-bash">sed 's/INFO/DEBUG/g' app.log
</code></pre>
<p>Explanation:</p>
<ul>
<li><code>s</code> – Substitute.</li>
<li><code>INFO</code> – Search pattern.</li>
<li><code>DEBUG</code> – Replacement text.</li>
<li><code>g</code> – Replace all matching occurrences on each line.</li>
</ul>
<p>By default, this displays the modified output without changing the original file.</p>
<p><strong>Practical application:</strong> Modifying text, processing configuration files, and transforming log data.</p>
<h2>Key Lessons from This Week</h2>
<p>After five days of hands-on practice, here are my biggest takeaways:</p>
<ol>
<li><strong>File management is more than creating and deleting files.</strong> Archiving and securely transferring data are important server administration tasks.</li>
<li><strong>Networking knowledge is essential.</strong> Commands like <code>ping</code>, <code>mtr</code>, <code>ip</code>, and <code>ss</code> help investigate connectivity and network configuration.</li>
<li><strong>The terminal can interact with web services.</strong> Tools like <code>curl</code> and <code>wget</code> are useful when working with APIs and remote resources.</li>
<li><strong>System monitoring matters.</strong> Understanding CPU, memory, and processes helps when managing cloud servers.</li>
<li><strong>Text-processing tools are powerful.</strong> <code>grep</code>, <code>awk</code>, and <code>sed</code> are valuable for working with application logs and configuration files.</li>
</ol>
<p>Most importantly, I realized that understanding what a command does is more valuable than simply memorizing its syntax.</p>
<p><strong>Learning one concept at a time, practicing consistently, and building strong fundamentals.</strong> 🚀</p>
<p>If you're also learning Linux, Cloud Computing, or DevOps, I'd love to connect and learn from your experiences.</p>
<hr />
<img src="https://cdn.hashnode.com/uploads/covers/6a92622364e613a4d641d3de/e58caf09-fe29-41d2-8579-dcc7e8b7d9ae.png" alt="" style="display:block;margin:0 auto" />

<img src="https://cdn.hashnode.com/uploads/covers/6a92622364e613a4d641d3de/8f2703c1-1bdf-4790-aabb-51c45d0f1785.png" alt="" style="display:block;margin:0 auto" />

<img src="https://cdn.hashnode.com/uploads/covers/6a92622364e613a4d641d3de/ecf424ba-504d-44c9-b706-3bd88eb0782d.png" alt="" style="display:block;margin:0 auto" />

<img src="https://cdn.hashnode.com/uploads/covers/6a92622364e613a4d641d3de/3464dbf2-5f5c-4415-a9df-6df6a6a3317f.png" alt="" style="display:block;margin:0 auto" />

<img src="https://cdn.hashnode.com/uploads/covers/6a92622364e613a4d641d3de/946071bb-bea9-4067-bb4a-df12e003cee9.png" alt="" style="display:block;margin:0 auto" />

<img src="https://cdn.hashnode.com/uploads/covers/6a92622364e613a4d641d3de/000d8145-c304-45c6-b00d-ea32ab5aa957.png" alt="" style="display:block;margin:0 auto" />

<img src="https://cdn.hashnode.com/uploads/covers/6a92622364e613a4d641d3de/44a96179-2e70-4a06-a9e9-12ea27719d45.png" alt="" style="display:block;margin:0 auto" />

<img src="https://cdn.hashnode.com/uploads/covers/6a92622364e613a4d641d3de/68349ede-e9fd-422b-9349-07574dcb5ee2.png" alt="" style="display:block;margin:0 auto" />

<img src="https://cdn.hashnode.com/uploads/covers/6a92622364e613a4d641d3de/75a37ba1-94b1-42c1-94c1-c7a32aa8b8d3.png" alt="" style="display:block;margin:0 auto" />

<img src="https://cdn.hashnode.com/uploads/covers/6a92622364e613a4d641d3de/8bc0c54e-794d-45c0-8360-d0dd0277b478.png" alt="" style="display:block;margin:0 auto" />

<p>Linux</p>
<p>DevOps</p>
<p>AWS</p>
<p>Cloud Computing</p>
<p>Beginners</p>
]]></content:encoded></item><item><title><![CDATA[My Linux Learning Week Essential Commands for Cloud and DevOps Beginners]]></title><description><![CDATA[A beginner-friendly overview of essential Linux commands I learned and practiced this week, covering file management, permissions, user administration…]]></description><link>https://30daysofcloud.hashnode.dev/linux-essential-commands-cloud-devops-beginners</link><guid isPermaLink="true">https://30daysofcloud.hashnode.dev/linux-essential-commands-cloud-devops-beginners</guid><category><![CDATA[Linux]]></category><category><![CDATA[Devops]]></category><category><![CDATA[Cloud Computing]]></category><category><![CDATA[linux-commands]]></category><dc:creator><![CDATA[Sujal Kalkhambkar]]></dc:creator><pubDate>Thu, 26 Nov 2026 07:52:11 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/6a92622364e613a4d641d3de/d2ab470c-cfa8-4044-bd25-300dea54ce9a.jpg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<h2>Introduction</h2>
<p>Linux is one of the most important operating systems in the world of cloud computing, DevOps, and server administration.</p>
<p>As I continue working towards my career in Cloud and DevOps, I spent this week strengthening my Linux fundamentals by learning and practicing essential Linux commands.</p>
<p>These commands helped me understand how to navigate the Linux file system, manage files and directories, handle permissions, work with users and groups, and perform basic administrative tasks.</p>
<p>In this blog, I'm sharing the Linux commands I learned and practiced this week.</p>
<h2>1. Files and Directories 📁</h2>
<p>Managing files and directories is one of the first things to learn when working with Linux.</p>
<p>Here are the commands I practiced:</p>
<ul>
<li><code>ls</code> – Lists files and directories in the current location.</li>
<li><code>ls -l</code> – Displays detailed information, including permissions, ownership, size, and modification time.</li>
<li><code>ls -a</code> – Shows all files, including hidden files.</li>
<li><code>ls -ilt</code> – Displays file details with inode numbers and sorts by modification time.</li>
<li><code>pwd</code> – Displays the current working directory.</li>
<li><code>cd</code> – Changes the current directory.</li>
<li><code>mkdir</code> – Creates a new directory.</li>
<li><code>rmdir</code> – Removes an empty directory.</li>
<li><code>touch</code> – Creates an empty file or updates its timestamp.</li>
<li><code>cp</code> – Copies files and directories.</li>
<li><code>mv</code> – Moves or renames files and directories.</li>
<li><code>rm</code> – Removes files and directories.</li>
</ul>
<h2>2. Reading and Editing Text Files 📝</h2>
<p>Linux administrators frequently work with configuration files, log files, and system information. These commands help read and edit text files.</p>
<ul>
<li><code>echo</code> – Displays text or writes text into a file.</li>
<li><code>cat</code> – Displays the contents of a file.</li>
<li><code>head</code> – Displays the first few lines of a file.</li>
<li><code>head -n 1</code> – Displays only the first line of a file.</li>
<li><code>tail</code> – Displays the last few lines of a file.</li>
<li><code>tail -n 1</code> – Displays only the last line of a file.</li>
<li><code>vim</code> – Opens a text editor to create or edit files.</li>
</ul>
<h2>3. Permissions and Ownership 🔐</h2>
<p>Linux uses a permission system to control who can read, write, or execute files and directories.</p>
<p>Understanding permissions is important when managing Linux servers and securing cloud infrastructure.</p>
<p>Commands I practiced:</p>
<ul>
<li><code>chmod</code> – Changes file and directory permissions.</li>
<li><code>umask</code> – Controls default permission restrictions for newly created files and directories.</li>
<li><code>chown</code> – Changes the ownership of files and directories.</li>
<li><code>chgrp</code> – Changes the group ownership of files and directories.</li>
</ul>
<h2>4. Archives and Compression 📦</h2>
<p>Compression helps organize files and reduce storage requirements. Linux provides commands to create and extract archives.</p>
<ul>
<li><code>zip</code> – Compresses files into a ZIP archive.</li>
<li><code>zip -r</code> – Compresses directories and their contents recursively.</li>
<li><code>unzip</code> – Extracts files from a ZIP archive.</li>
</ul>
<h2>5. User and Group Management 👥</h2>
<p>Linux supports multiple users and groups. System administrators use these commands to manage user accounts and group membership.</p>
<ul>
<li><code>useradd</code> – Creates a new user account.</li>
<li><code>userdel</code> – Deletes an existing user account.</li>
<li><code>groupadd</code> – Creates a new group.</li>
<li><code>groupdel</code> – Deletes an existing group.</li>
<li><code>gpasswd</code> – Manages group membership and group passwords.</li>
</ul>
<h2>6. Administrative Privileges ⚙️</h2>
<p>Administrative tasks sometimes require elevated privileges.</p>
<ul>
<li><code>sudo</code> – Executes commands with elevated privileges when permitted.</li>
</ul>
<p>Understanding <code>sudo</code> is important because many system administration tasks require appropriate permissions.</p>
<h2>Key Takeaways 💡</h2>
<p>This week's Linux practice helped me understand several important areas:</p>
<ul>
<li>Navigating the Linux file system.</li>
<li>Creating, copying, moving, and deleting files and directories.</li>
<li>Reading and editing text files.</li>
<li>Understanding file permissions and ownership.</li>
<li>Managing users and groups.</li>
<li>Working with compressed archives.</li>
<li>Executing administrative commands.</li>
</ul>
<p>These fundamentals are important for anyone starting with Linux, Cloud Computing, or DevOps.</p>
<img src="https://cdn.hashnode.com/uploads/covers/6a92622364e613a4d641d3de/2dfe3e6d-db4c-43cc-ab99-6d72c126822e.png" alt="" style="display:block;margin:0 auto" />

<img src="https://cdn.hashnode.com/uploads/covers/6a92622364e613a4d641d3de/650ef7c8-1bcf-451b-b8ae-e3472b81efe9.png" alt="" style="display:block;margin:0 auto" />

<img src="https://cdn.hashnode.com/uploads/covers/6a92622364e613a4d641d3de/cb0ad941-2077-435e-a252-aee02a1009d0.png" alt="" style="display:block;margin:0 auto" />

<h2>What's Next?</h2>
<p>I'm continuing to focus on hands-on Linux practice and building a strong foundation for Cloud and DevOps.</p>
<p>My approach is simple:</p>
<p><strong>Learn → Practice → Understand → Apply</strong></p>
<p>I believe consistent practice and understanding the fundamentals are more important than rushing through advanced topics.</p>
<p>Small steps, consistent practice, and continuous learning! 🚀</p>
<hr />
<p><strong>Thanks for reading!</strong></p>
<p>If you're also learning Linux, Cloud Computing, or DevOps, feel free to share what you're currently practicing.</p>
<p>Let's learn and grow together!</p>
<p>#Linux #CloudComputing #DevOps #LinuxCommands #CloudEngineering #LearningInPublic</p>
]]></content:encoded></item></channel></rss>