<?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" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Linux Playground on Medium]]></title>
        <description><![CDATA[Stories by Linux Playground on Medium]]></description>
        <link>https://medium.com/@1999pramudithjaya?source=rss-39e7a8568991------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*qMDxfXE55Nf0wPehBxIGjQ.jpeg</url>
            <title>Stories by Linux Playground on Medium</title>
            <link>https://medium.com/@1999pramudithjaya?source=rss-39e7a8568991------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 10:58:02 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@1999pramudithjaya/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Master Networking with Linux]]></title>
            <link>https://medium.com/@1999pramudithjaya/master-networking-with-linux-e25af29ee244?source=rss-39e7a8568991------2</link>
            <guid isPermaLink="false">https://medium.com/p/e25af29ee244</guid>
            <dc:creator><![CDATA[Linux Playground]]></dc:creator>
            <pubDate>Sat, 19 Jul 2025 14:29:55 GMT</pubDate>
            <atom:updated>2025-07-19T14:29:55.830Z</atom:updated>
            <content:encoded><![CDATA[<p>Networking Skills in Linux are most useful and worth learning. In this Tutorial, we are going to dive deep into Some Key Concepts and some useful Commands.</p><p>1)Finding the IP Address</p><p>First Things First, the IP Address of the Linux Machine is the most basic thing to identify. An IP Address is an Internet Address that is assigned by the Gateway/Router or by a dedicated DHCP Server. To Find the IP Address, Linux Offers Several Ways.</p><p>Using the ifconfig command</p><p>ifconfig</p><p>On the Linux Terminal, just enter the Command ifconfig and examine the Output. This Command shows some useful information. This Output Shows IP addresses assigned to different Network Adapters in the Linux Machine.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*J5Cpnv5WWHDMs1BOT5u4MQ.jpeg" /><figcaption>ifconfig command output</figcaption></figure><p>We can see whether the interface is up or down, the Subnet mask, the MTU size, and much more information. Note that the Primary Network Interface is identified by eth0 on the Linux system. If more network adapters are attached, they will be shown as eth1, eth2, etc, so on.</p><p>Bonus Tip: To grab the IP address quickly, use ifconfig with grep inet</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MEA7DPqUMrl-4krFhBmlSQ.jpeg" /><figcaption>ifconfig with grep filtering</figcaption></figure><p>hostname -I</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mDBIUYOYKgXiFSjU04qTlQ.jpeg" /><figcaption>hostname -I</figcaption></figure><p>This Command also Quickly Prints the IP address (both IPv4 and IPv6) of the Linux Machine into the stdout.</p><p>ip addr</p><p>This Command also generates an IP address directly into the stdout. Note that this Output is also similar to the ifconfig command output.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*K8KuhlQqJZd8YFtruTIGOg.jpeg" /><figcaption>ip addr</figcaption></figure><p>2)Ping</p><p>Ping is also the most basic Command that every Linux User Must Know. Ping Command generates ICMP messages(An Internet Layer Protocol from TCP/IP Suite ) that send data packets to a specific target IP address or hostname. Ping Command can be used to verify end-to-end connectivity between network devices. The Generic Ping Command Style is ping [target IP/hostname]. Please note that Ping Command can ping not only IP addresses but also hostnames as well.</p><p>ping 192.168.1.1</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ctOn6Yt-9quvLvjCQ8WOLA.jpeg" /><figcaption>generic ping</figcaption></figure><p>Unlike Windows, the Generic Ping Command continuously pings the Target host.</p><p>To limit the ICMP message count, we can use -c [counts] as below.</p><p>ping -c 4 192.168.1.1</p><p>This will send 4 ICMP messages to the target host.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_iWNZMcnrLkGjXNAFLV0cw.jpeg" /><figcaption>ping with -c</figcaption></figure><p>4)Assigning An IP Address</p><p>Assigning an IP Address to the Linux Machine is a Necessary Skill. Assigning an IP address can be achieved through either static assignment or by a dedicated DHCP server. (A server that is designed to assign IP Addresses to the Hosts)</p><p>Static Assignment</p><p>Static IP Address Assignment Can be Archived through the following Command.</p><p>ip addr add [address/prefix] dev [interface]</p><p>As an example,</p><p>ip addr add 192.168.1.21/24 dev eth0</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rzVDikrN1-T1mDmxYmNVAA.jpeg" /><figcaption>static assignment</figcaption></figure><p>Here, the prefix is CIDR notation, which represents the Subnet mask. eth0 is the Interface that we need to assign the IP address.</p><p>Dynamic Assignment</p><p>This Command is much simpler than Static Assignment.</p><p>dhclient [interface]</p><p>As an Example, dhclient</p><p>This command calls the DHCP service in the Linux machine and automatically assigns an IP address from the server(Router or dedicated DHCP server) to which the Linux Machine is connected.</p><p>5)View ARP Information.</p><p>ARP is a specific protocol that shows mapping between IP addresses and device MAC addresses. This will be very useful when troubleshooting scenarios kick in.</p><p>To view ARP information, use,</p><p>arp -a command</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*03q_9sj1TL74nG-W7FRJ5Q.jpeg" /><figcaption>arp -a</figcaption></figure><p>Here, it will show two devices that Linux Machine has learned the MAC addresses.</p><p>One is my DNS server’s MAC address, and the other is my router.</p><p>6)Using DNS on a Linux machine</p><p>DNS is a Service that translates domain names into IP addresses. The millions of domain names on the internet will be translated into an understandable format(basically IP addresses) by these DNS servers.</p><p>The Command is much simpler, though.</p><p>nslookup [domainname]</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Q9u2taBMWYyLWfsvhTrj2A.jpeg" /><figcaption>nslookup</figcaption></figure><p>NSLookup stands for name server lookup.</p><p>This Command Pops in, Hey, DHCP Server! Give me the IP Address of this Domain name!. Pretty Fun Though.</p><p>7) Changing DNS Server on a Linux Machine</p><p>While using the Internet, there may be several DNS servers involved. The Most Basic DNS service is offered to us via our ISP, but instead, we may need to assign another DNS server to the Linux Machine we are using.</p><p>To do this, there is a Configuration file named resolv.conf resides in the/etc directory.</p><p>Simply Open This File using A text Editor Like Nano.</p><p>nano/etc/resolv.conf</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vsJ3y0RnqGCK91yk7yz1vw.jpeg" /><figcaption>opening resolv.conf configuration file</figcaption></figure><p>Here you can see the configured DNS Servers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XAHQ_99Btn5UJA3J7_GnPw.jpeg" /><figcaption>current configured nameservers</figcaption></figure><p>Simply add the corresponding DNS server by typing nameserver [dns_server_ip] at the end of the File. Here I am adding Cloudflare DNS (1.1.1.1) into this file. To save this File, just type Ctrl+O and then press Ctrl+X to exit.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kuUkBfxNhKAi3MiXvMZ3uA.jpeg" /><figcaption>adding cloudflare dns server</figcaption></figure><p>Conclusion</p><p>As a Linux user, you must know these basic network configuration Commands. Here I am discussing finding the IP Address, assigning IP addresses, Ping to the Hosts, and finding and changing DNS Server Information. Try out these Commands Yourself and try to understand the Key Concepts Rather than copy and paste them into the Terminal. Best of Luck!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e25af29ee244" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Mastering Text Processing in Linux: sed, awk, cat, and grep Explained within Minutes!]]></title>
            <link>https://medium.com/@1999pramudithjaya/mastering-text-processing-in-linux-sed-awk-cat-and-grep-explained-within-minutes-d9006c0ffa2f?source=rss-39e7a8568991------2</link>
            <guid isPermaLink="false">https://medium.com/p/d9006c0ffa2f</guid>
            <dc:creator><![CDATA[Linux Playground]]></dc:creator>
            <pubDate>Sun, 15 Jun 2025 19:23:24 GMT</pubDate>
            <atom:updated>2025-06-15T19:23:24.620Z</atom:updated>
            <content:encoded><![CDATA[<p>Linux provides powerful command-line tools for processing and manipulating text files. Among the most essential are sed, awk, cat, and grep. Together, they form a formidable toolkit for handling everything from simple text viewing to complex data extraction and transformation.</p><p>In this article, we’ll explore each of these tools, understand their core uses, and look at practical examples.</p><p><strong>1. cat — Concatenate and Display Files</strong><br>cat stands for concatenate. Its primary use is to display the contents of a file or concatenate multiple files.</p><p>➢cat filename.txt<br>This command outputs the contents of filename.txt to the terminal.</p><p>➢Combining Files</p><p>cat file1.txt file2.txt &gt; combined.txt</p><p>This concatenates file1.txt and file2.txt and saves the result to combined.txt</p><p>➢Useful Options<br>-n — Number all output lines</p><p>Example: cat -n file.txt</p><p><strong>2. grep — Search for Patterns</strong><br>➢grep is a command-line utility for searching plain-text data sets for lines matching a regular expression. ”grep” Stands for Global Regular Expression.</p><p>➢grep ‘search_term’ file.txt<br>This prints all lines in file.txt containing search_term.</p><p>➢Commonly Used Options<br>-i: Case-insensitive search.</p><p>-r: Recursive search through directories.</p><p>-v: Invert match (show lines that do not match).</p><p>-n: Show line numbers with output.</p><p>Example: Find lines containing “error” (case insensitive) in logs:</p><p>grep -i ‘error’ /var/log/syslog</p><p><strong>3. sed — Stream Editor for Filtering and Transforming Text</strong><br>➢sed is a powerful stream editor used to perform basic text transformations on an input stream (a file or input from a pipeline).</p><p>➢sed [options] ‘script’ filename<br>Common Uses - Substitute text</p><p>➢sed ‘s/old_text/new_text/’ file.txt<br>This replaces the first occurrence of old_text with new_text on each line.</p><p>➢sed ‘s/old_text/new_text/g’ file.txt<br>Replaces all occurrences in each line.</p><p>➢Delete lines matching a pattern</p><p>➢sed ‘/pattern/d’ file.txt<br>Deletes all lines that match pattern.</p><p>Example: Replace “foo” with “bar” globally</p><p>sed ‘s/foo/bar/g’ file.txt</p><p><strong>4. awk — Pattern Scanning and Processing Language</strong><br>➢awk is a full programming language designed for text processing and typically used for extracting columns, transforming data, and producing formatted reports.</p><p>➢awk ‘pattern {action}’ filename<br>If pattern matches, action is executed.</p><p>➢Field Separator<br>By default, awk splits lines into fields using spaces or tabs, accessible as $1, $2, etc.</p><p>➢Common Examples<br>Print the first column of a file:</p><p>➢awk ‘{print $1}’ file.txt<br>Print lines where the second column equals 100:</p><p>➢awk ‘$2 == 100’ file.txt<br>Sum the values in the third column:</p><p>➢awk ‘{sum += $3} END {print sum}’ file.txt<br>Example: Print lines where the third field is greater than 50</p><p>➢awk ‘$3 &gt; 50’ data.csv</p><p>➢Combining the Tools<br>You can pipe commands to combine their strengths.</p><p>Example: Find lines with “error” and replace “fail” with “FAIL”</p><p>grep ‘error’ logfile.txt | sed ‘s/fail/FAIL/g’</p><p>Example: Display numbered lines containing “warning”</p><p>grep -n ‘warning’ logfile.txt</p><p>➢<strong>Summary</strong><br>cat: View or combine files.</p><p>grep: Search for text patterns.</p><p>sed: Stream edit text with substitution, deletion.</p><p>awk: Process and analyze text data, especially columns.</p><p>Mastering these tools is fundamental to efficient Linux text processing and scripting.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d9006c0ffa2f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ 10 Essential Linux Commands for Beginners]]></title>
            <link>https://medium.com/@1999pramudithjaya/10-essential-linux-commands-for-beginners-0189e85ea18d?source=rss-39e7a8568991------2</link>
            <guid isPermaLink="false">https://medium.com/p/0189e85ea18d</guid>
            <dc:creator><![CDATA[Linux Playground]]></dc:creator>
            <pubDate>Fri, 06 Jun 2025 16:15:29 GMT</pubDate>
            <atom:updated>2025-06-06T16:15:29.844Z</atom:updated>
            <content:encoded><![CDATA[<p>Your first steps into the Linux terminal, made simple.</p><p>The command line is one of the most powerful tools available in Linux. Whether you’re a budding developer, system administrator, or just curious about Linux , learning a few essential commands can help you navigate and control your system efficiently. Here are 10 beginner-friendly Linux commands that you’ll use almost every day.</p><p>— -</p><p>### 1. `pwd` — Print Working Directory<br>This command shows the full path to the directory you’re currently in. <br>📌 *Great for understanding where you are in the file system.*</p><p>### 2. `ls` — List Directory Contents*<br>Lists files and folders in the current directory.</p><p>ls # basic list <br>ls -l # long list with details <br>ls -a # show hidden files</p><p>### 3. `cd` — Change Directory<br>Navigate through folders in your system.</p><p>cd Documents # go into Documents <br>cd .. # go one level up <br>cd ~ # return to home directory</p><p>### 4. `mkdir` — Make Directory <br>Creates a new directory.</p><p>mkdir my_folder # Creates folder named my_folder</p><p>### 5. `rm` — Remove Files and Folders<br>Deletes files and directories. Be careful — this can’t be undone!</p><p>rm file.txt # remove a file <br>rm -r folder_name # remove folder and its contents <br>rm -rf folder_name # force remove (dangerous!)</p><p>### 6. `cp` — Copy Files and Folders*<br>Copies files and directories to a new location. <br><br>cp file.txt backup/ <br>cp -r my_folder/ new_folder/</p><p>### 7. `mv` — Move or Rename <br>Moves files or renames them. <br><br>mv file.txt /new/location/ <br>mv oldname.txt newname.txt</p><p>### 8. `touch` — Create an Empty File<br>Creates a new, empty file instantly. <br><br>touch newfile.txt</p><p>### 9. `cat` — View File Content<br>Displays the contents of a file.</p><p>cat file.txt</p><p>### 10. `clear` — Clear the Terminal <br>Clears the clutter in your terminal window. <br><br>clear</p><p>### 🧠 Final Thoughts</p><p>These 10 commands are your building blocks to becoming comfortable with Linux. Once you get the hang of them, you’ll find yourself navigating, managing files, and customizing your environment with ease. Start experimenting in a safe environment (like a virtual machine or online Linux playground) and build up your command-line confidence one step at a time.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0189e85ea18d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Getting Started with Linux: What I Wish I Knew as a Beginner]]></title>
            <link>https://medium.com/@1999pramudithjaya/getting-started-with-linux-what-i-wish-i-knew-as-a-beginner-6f8ae5fb1fc9?source=rss-39e7a8568991------2</link>
            <guid isPermaLink="false">https://medium.com/p/6f8ae5fb1fc9</guid>
            <dc:creator><![CDATA[Linux Playground]]></dc:creator>
            <pubDate>Thu, 29 May 2025 02:22:32 GMT</pubDate>
            <atom:updated>2025-05-29T02:22:32.303Z</atom:updated>
            <content:encoded><![CDATA[<p>Hi, I’m Pramudith, and after years of using Windows, I fell in love with Linux. I’ve started this blog/channel — Linux Playground — to share my journey, tips, hands-on experiments with you what you should know.</p><p>Why I Started Linux Playground: A Journey into the Terminal <br>Hi there! 👋 I’m Pramudith, a Linux enthusiast, IT &amp; Networking student, and now — the creator of Linux Playground, a space dedicated to exploring, learning, and having fun with Linux. Whether you’re a complete beginner or someone rediscovering the power of open-source, you’re in the right place.</p><p>🧑‍💻 My Journey into Linux <br>Like many, I started my computing life in the world of Windows — clicking through GUIs and relying on wizards to do the heavy lifting. It worked, until I started asking “how does this really work?” That’s when I discovered Linux.</p><p>I started experimenting with Kali Linux using VirtualBox alongside Windows. I remember the first time I ran sudo apt install — it felt like I had real control over my system. From customizing desktops to running my own local servers, Linux opened a world of possibilities. And once I realized I could learn by breaking things, I was hooked.</p><p>💡 5 Things I Wish I Knew When I Started with Linux <br>If you’re starting your Linux journey, here are five key things I wish someone told me:</p><p>1. Start with a beginner-friendly distro <br>Ubuntu, Linux Mint, or Pop!_OS are great places to begin. They have large communities, good documentation, and easy package management.</p><p>2. The terminal is your best friend <br>Commands like ls, cd, mkdir, rm, man, and sudo will become second nature. Don’t fear the command line — embrace it.</p><p>3. You don’t need to abandon Windows <br>Dual boot, use a virtual machine, or try Linux on a USB stick (Live Boot) before fully switching.</p><p>4. Break things — then fix them <br>One of the best ways to learn is by making mistakes. You’ll gain confidence with every issue you troubleshoot.</p><p>5. Community support is amazing <br>Sites like Stack Overflow, AskUbuntu, r/linux, and hundreds of blogs are out there to help. You’re never alone in this journey.</p><p>🎯 What is Linux Playground? <br>Linux Playground is my platform to:</p><p>- Share Linux tutorials, tips, and guides <br>- Explore cool tools and commands <br>- Tinker with server setups, shell scripting, and even Raspberry Pi projects <br>- Document my learning — so you can learn alongside me</p><p>If I mess something up, I’ll show you what happened and how I fixed it. If I find a gem of a tool, you’ll be the first to hear. The idea is simple: Learn. Break. Fix. Share. Repeat.</p><p>📅 What’s Coming Next? <br>Here’s a sneak peek at some upcoming content:</p><p>- “10 Essential Linux Commands for Beginners” <br>- “How to Set Up Your First Ubuntu Server” <br>- “Install Arch Linux the Easy Way (Yes, It’s Possible!)” <br>- “Using Bash Scripts to Automate Daily Tasks”</p><p>🙌 Let’s Build This Together <br>I’m excited to share my Linux journey with you, and I hope you’ll join me for the ride. If you’re just starting out or want to go deeper into the Linux world, subscribe to this blog.</p><p>Drop a comment below and tell me your Linux story. What distro did you start with? What scared you the most? What are you curious to learn next?</p><p>Let’s play with Linux — together. 🎮🐧</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6f8ae5fb1fc9" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>