<?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: Anany Dubey</title>
    <description>The latest articles on DEV Community by Anany Dubey (@anany_dubey).</description>
    <link>https://dev.to/anany_dubey</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%2F3944428%2F669c463f-9ee7-4b65-be58-b171a121e726.png</url>
      <title>DEV Community: Anany Dubey</title>
      <link>https://dev.to/anany_dubey</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/anany_dubey"/>
    <language>en</language>
    <item>
      <title>10 Linux Commands That Made the Terminal Less Scary for Me</title>
      <dc:creator>Anany Dubey</dc:creator>
      <pubDate>Thu, 21 May 2026 16:16:58 +0000</pubDate>
      <link>https://dev.to/anany_dubey/10-linux-commands-that-made-the-terminal-less-scary-for-me-21j4</link>
      <guid>https://dev.to/anany_dubey/10-linux-commands-that-made-the-terminal-less-scary-for-me-21j4</guid>
      <description>&lt;p&gt;I still remember the exact moment I opened the Linux terminal for the first time.&lt;/p&gt;

&lt;p&gt;Black screen. Blinking cursor. Absolute silence.&lt;/p&gt;

&lt;p&gt;No icons, no buttons, no "click here to continue." Just this tiny blinking thing waiting for me to type something — anything — and I had absolutely no idea what to say to it.&lt;/p&gt;

&lt;p&gt;My first reaction, honestly? I closed it.&lt;/p&gt;

&lt;p&gt;Then I opened it again because I felt embarrassed closing it, even though I was alone.&lt;/p&gt;

&lt;p&gt;I ended up doing what every beginner does: copying random commands from Stack Overflow without really understanding what they did. Sometimes things worked. Sometimes I'd accidentally delete a file I needed. Once I somehow broke my entire home directory setup and had to reinstall things.&lt;/p&gt;

&lt;p&gt;But here's what I eventually figured out — Linux wasn't hard because it was complicated. It was hard because it was &lt;em&gt;unfamiliar&lt;/em&gt;. Once a few commands started making sense, the whole thing clicked differently.&lt;/p&gt;

&lt;p&gt;If you're a CS student, a beginner dev, or someone just getting into backend or DevOps, here are the 10 commands that genuinely made the terminal less terrifying for me.&lt;/p&gt;




&lt;h2&gt;
  
  
  First, Why Does Linux Even Matter?
&lt;/h2&gt;

&lt;p&gt;Honestly, for a while I thought Linux was one of those "nice to have" skills that senior devs recommend but you can probably skip.&lt;/p&gt;

&lt;p&gt;You can't really skip it.&lt;/p&gt;

&lt;p&gt;Servers run Linux. Cloud infrastructure runs Linux. Docker, DevOps pipelines, most backend environments — Linux is just quietly everywhere. At some point it stops being optional and becomes part of your actual workflow.&lt;/p&gt;

&lt;p&gt;The good news is you don't need to learn hundreds of commands to feel comfortable. You just need a solid handful to start.&lt;/p&gt;




&lt;h2&gt;
  
  
  1. &lt;code&gt;pwd&lt;/code&gt; — "Wait, Where Am I?"
&lt;/h2&gt;

&lt;p&gt;The terminal doesn't show you where you are by default. That's confusing at first.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;pwd&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This prints your current working directory — basically your location in the file system. It stands for &lt;em&gt;print working directory&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;I used this constantly when I was learning. Still use it more than I'd like to admit.&lt;/p&gt;




&lt;h2&gt;
  
  
  2. &lt;code&gt;ls&lt;/code&gt; — See What's Around You
&lt;/h2&gt;

&lt;p&gt;Want to see what files and folders are in your current location?&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;ls&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Want more details like file sizes and permissions?&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;ls&lt;/span&gt; &lt;span class="nt"&gt;-l&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Want to also see hidden files (files that start with a dot)?&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;ls&lt;/span&gt; &lt;span class="nt"&gt;-la&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;ls&lt;/code&gt; becomes muscle memory pretty fast. You'll type it without thinking after a week.&lt;/p&gt;




&lt;h2&gt;
  
  
  3. &lt;code&gt;cd&lt;/code&gt; — Actually Move Around
&lt;/h2&gt;

&lt;p&gt;Navigation. This one's essential.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;cd &lt;/span&gt;Documents
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Go back one level:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;cd&lt;/span&gt; ..
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Jump straight to your home directory:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;cd&lt;/span&gt; ~
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Once you get used to &lt;code&gt;cd&lt;/code&gt;, clicking through folders in a file manager starts feeling weirdly slow. It's one of those small things that makes the terminal feel worth it.&lt;/p&gt;




&lt;h2&gt;
  
  
  4. &lt;code&gt;mkdir&lt;/code&gt; — Create a Folder Without the Right-Click
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;mkdir &lt;/span&gt;my-project
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That's it. New folder, done.&lt;/p&gt;

&lt;p&gt;No right-clicking, no naming dialog box, no confirmation window. Just instant. Linux really does value speed and efficiency, and &lt;code&gt;mkdir&lt;/code&gt; is a small example of that.&lt;/p&gt;




&lt;h2&gt;
  
  
  5. &lt;code&gt;touch&lt;/code&gt; — Create an Empty File
&lt;/h2&gt;

&lt;p&gt;Need a new file quickly?&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;touch &lt;/span&gt;index.html
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;touch &lt;/span&gt;app.py
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;It creates an empty file with that name. Nothing fancy, but when you're setting up a project structure, this saves you a surprising amount of time.&lt;/p&gt;




&lt;h2&gt;
  
  
  6. &lt;code&gt;cp&lt;/code&gt; and &lt;code&gt;mv&lt;/code&gt; — Copy, Move, and Rename
&lt;/h2&gt;

&lt;p&gt;Copy a file:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;cp &lt;/span&gt;notes.txt notes-backup.txt
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Move a file to a different folder:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;mv &lt;/span&gt;notes.txt ~/Documents/notes.txt
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Rename a file (it's the same command, just staying in the same place):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;mv &lt;/span&gt;old-name.txt new-name.txt
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The rename thing tripped me up for a bit — I kept looking for a separate rename command. Turns out &lt;code&gt;mv&lt;/code&gt; just does it.&lt;/p&gt;




&lt;h2&gt;
  
  
  7. &lt;code&gt;rm&lt;/code&gt; — Delete Things (Carefully)
&lt;/h2&gt;

&lt;p&gt;Delete a file:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;rm &lt;/span&gt;file.txt
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Delete a folder and everything inside it:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;rm&lt;/span&gt; &lt;span class="nt"&gt;-r&lt;/span&gt; foldername
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Important heads-up: &lt;strong&gt;Linux usually won't ask if you're sure.&lt;/strong&gt; It just deletes. No trash bin, no undo.&lt;/p&gt;

&lt;p&gt;This is how beginners learn to be careful. Usually after losing something they needed.&lt;/p&gt;

&lt;p&gt;If you want it to prompt you before deleting, you can use &lt;code&gt;rm -i&lt;/code&gt;, but honestly most people just learn the habit of double-checking before they run it.&lt;/p&gt;




&lt;h2&gt;
  
  
  8. &lt;code&gt;cat&lt;/code&gt; — Read a File Without Opening an Editor
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;cat &lt;/span&gt;notes.txt
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This just prints the file contents straight into your terminal. Super useful for quickly checking configs, reading log files, or just seeing what's in something without bothering to open a text editor.&lt;/p&gt;

&lt;p&gt;It's one of those commands that seems almost too simple at first, then you realize you're using it constantly.&lt;/p&gt;




&lt;h2&gt;
  
  
  9. &lt;code&gt;grep&lt;/code&gt; — Search Inside Files
&lt;/h2&gt;

&lt;p&gt;This one felt like a superpower once I actually understood it.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;grep&lt;/span&gt; &lt;span class="s2"&gt;"error"&lt;/span&gt; logs.txt
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This searches through &lt;code&gt;logs.txt&lt;/code&gt; and shows you every line that contains the word "error."&lt;/p&gt;

&lt;p&gt;Once you start debugging real applications or reading through server logs, &lt;code&gt;grep&lt;/code&gt; becomes one of your most-used tools. You can search through hundreds of lines instantly instead of scrolling through everything manually.&lt;/p&gt;

&lt;p&gt;You can also combine it with other commands using pipes, but that's a rabbit hole for another day.&lt;/p&gt;




&lt;h2&gt;
  
  
  10. &lt;code&gt;history&lt;/code&gt; — Your Terminal Remembers Everything
&lt;/h2&gt;

&lt;p&gt;Forgot a command you typed earlier?&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;history&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This shows your command history. Every command you've run, listed out.&lt;/p&gt;

&lt;p&gt;You can also press the &lt;strong&gt;Up arrow&lt;/strong&gt; to cycle through recent commands one by one, which I use constantly.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;history&lt;/code&gt; has saved me more times than I can count — especially when I've run some complex command that worked, and then immediately forgot what I typed.&lt;/p&gt;




&lt;h2&gt;
  
  
  🎁 Bonus: &lt;code&gt;man&lt;/code&gt; — The Manual That's Actually Built Into the Terminal
&lt;/h2&gt;

&lt;p&gt;This one I wish someone had told me about on day one.&lt;/p&gt;

&lt;p&gt;Every time I didn't understand what a command did or what flags were available, I'd go Google it. That works fine, but there's a faster option that's always right there:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;man &lt;span class="nb"&gt;ls&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;man &lt;span class="nb"&gt;grep&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;man&lt;/code&gt; stands for &lt;em&gt;manual&lt;/em&gt;. It opens the official documentation for whatever command you pass it — right inside the terminal, no browser needed.&lt;/p&gt;

&lt;p&gt;So instead of searching "ls command options linux," you can just type &lt;code&gt;man ls&lt;/code&gt; and get the full breakdown: what the command does, every available flag, examples, all of it.&lt;/p&gt;

&lt;p&gt;Use the arrow keys to scroll, and press &lt;code&gt;q&lt;/code&gt; to quit and go back to your terminal.&lt;/p&gt;

&lt;p&gt;Fair warning: man pages are pretty dense and not exactly written for beginners. But once you get used to the format, it's genuinely useful — especially when you're working on a remote server with no internet access and need to look something up.&lt;/p&gt;

&lt;p&gt;It's also just a good habit. Gets you comfortable reading documentation instead of always reaching for a tutorial.&lt;/p&gt;




&lt;h2&gt;
  
  
  What the Terminal Actually Teaches You
&lt;/h2&gt;

&lt;p&gt;When I started, I thought learning Linux was about memorizing commands. The more time I spent in the terminal, the more I realized it's teaching you something else.&lt;/p&gt;

&lt;p&gt;It teaches you how computers actually work. Files, permissions, processes, how things are structured under the hood. GUI applications hide all of this. The terminal just shows it to you directly.&lt;/p&gt;

&lt;p&gt;You don't need to become an expert overnight. Just open the terminal, use it a little every day, and experiment. Break things, fix them, look stuff up. It gets less intimidating pretty quickly.&lt;/p&gt;

&lt;p&gt;Everyone who looks comfortable in the terminal today was once staring at that same blinking cursor thinking, &lt;em&gt;"I have no idea what I'm doing."&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;The cursor was just waiting for a first command.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;What was your first terminal experience like? Was there a command that finally made things click for you? Drop it in the comments — I'd love to know.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>linux</category>
      <category>beginners</category>
      <category>productivity</category>
      <category>discuss</category>
    </item>
  </channel>
</rss>
