{"id":5931,"date":"2026-06-22T18:25:50","date_gmt":"2026-06-22T11:25:50","guid":{"rendered":"https:\/\/daiilynews.cu.ma\/?p=5931"},"modified":"2026-06-22T18:25:50","modified_gmt":"2026-06-22T11:25:50","slug":"learning-linux-from-scratch-my-first-week-in-devops","status":"publish","type":"post","link":"https:\/\/daiilynews.cu.ma\/?p=5931","title":{"rendered":"Learning Linux from Scratch: My First Week in DevOps"},"content":{"rendered":"<p> <br \/>\n<\/p>\n<p>Hello everyone! \ud83d\udc4b<\/p>\n<p>Welcome to Week 1 of my DevOps learning journey.<\/p>\n<p>As a final-year BCA student specializing in Cloud Computing, I have decided to document my journey toward becoming a DevOps Engineer. This blog series will cover everything I learn, from Linux fundamentals to cloud computing, containers, CI\/CD, Kubernetes, and monitoring tools.<\/p>\n<p>Since Linux is the backbone of most DevOps environments, I decided to start my journey by learning Linux fundamentals and essential commands.<\/p>\n<p>  Why Linux Matters in DevOps<\/p>\n<p>Most servers in cloud environments run Linux. Whether you&#8217;re working with AWS EC2 instances, Docker containers, Kubernetes clusters, or CI\/CD pipelines, Linux knowledge is essential.<\/p>\n<p>As a DevOps Engineer, you&#8217;ll frequently:<\/p>\n<p>Manage Linux servers<br \/>\nDeploy applications<br \/>\nTroubleshoot issues<br \/>\nMonitor system performance<br \/>\nAutomate tasks using shell scripts<\/p>\n<p>That&#8217;s why Linux is often considered the first skill every DevOps engineer should master.<\/p>\n<p>  What I Learned This Week<\/p>\n<p>  Understanding the Linux File System<\/p>\n<p>One of the first things I learned was how Linux organizes files and directories.<\/p>\n<p>Some important directories include:<\/p>\n<p>\/ \u2013 Root directory<\/p>\n<p>\/home \u2013 User home directories<\/p>\n<p>\/etc \u2013 Configuration files<\/p>\n<p>\/var \u2013 Logs and variable data<\/p>\n<p>\/tmp \u2013 Temporary files<\/p>\n<p>\/usr \u2013 User programs and utilities<\/p>\n<p>Understanding the file system structure helps navigate servers more effectively.<\/p>\n<p>  Basic Navigation Commands<\/p>\n<p>I practiced several commands used daily by Linux administrators.<\/p>\n<p>Check Current Directory<\/p>\n<p>pwd<\/p>\n<p>    Enter fullscreen mode<\/p>\n<p>    Exit fullscreen mode<\/p>\n<p>List Files and Directories<\/p>\n<p>ls<br \/>\nls -l<br \/>\nls -la<\/p>\n<p>    Enter fullscreen mode<\/p>\n<p>    Exit fullscreen mode<\/p>\n<p>Change Directory<\/p>\n<p>cd \/home<\/p>\n<p>    Enter fullscreen mode<\/p>\n<p>    Exit fullscreen mode<\/p>\n<p>Create Directory<\/p>\n<p>mkdir project<\/p>\n<p>    Enter fullscreen mode<\/p>\n<p>    Exit fullscreen mode<\/p>\n<p>Remove Directory<\/p>\n<p>rmdir project<\/p>\n<p>    Enter fullscreen mode<\/p>\n<p>    Exit fullscreen mode<\/p>\n<p>  File Management Commands<\/p>\n<p>Working with files is a common task in Linux.<\/p>\n<p>Create a File<\/p>\n<p>touch file.txt<\/p>\n<p>    Enter fullscreen mode<\/p>\n<p>    Exit fullscreen mode<\/p>\n<p>Copy Files<\/p>\n<p>cp file.txt backup.txt<\/p>\n<p>    Enter fullscreen mode<\/p>\n<p>    Exit fullscreen mode<\/p>\n<p>Move Files<\/p>\n<p>mv file.txt documents\/<\/p>\n<p>    Enter fullscreen mode<\/p>\n<p>    Exit fullscreen mode<\/p>\n<p>Delete Files<\/p>\n<p>rm file.txt<\/p>\n<p>    Enter fullscreen mode<\/p>\n<p>    Exit fullscreen mode<\/p>\n<p>View File Content<\/p>\n<p>cat file.txt<\/p>\n<p>    Enter fullscreen mode<\/p>\n<p>    Exit fullscreen mode<\/p>\n<p>  Viewing System Information<\/p>\n<p>I also learned how to check system details.<\/p>\n<p>Check CPU Information<\/p>\n<p>lscpu<\/p>\n<p>    Enter fullscreen mode<\/p>\n<p>    Exit fullscreen mode<\/p>\n<p>Check Memory Usage<\/p>\n<p>free -h<\/p>\n<p>    Enter fullscreen mode<\/p>\n<p>    Exit fullscreen mode<\/p>\n<p>Check Disk Usage<\/p>\n<p>df -h<\/p>\n<p>    Enter fullscreen mode<\/p>\n<p>    Exit fullscreen mode<\/p>\n<p>Check Running Processes<\/p>\n<p>ps -ef<\/p>\n<p>    Enter fullscreen mode<\/p>\n<p>    Exit fullscreen mode<\/p>\n<p>Monitor Processes in Real Time<\/p>\n<p>top<\/p>\n<p>    Enter fullscreen mode<\/p>\n<p>    Exit fullscreen mode<\/p>\n<p>  Understanding Permissions<\/p>\n<p>Linux uses permissions to control access to files and directories.<\/p>\n<p>I learned about:<\/p>\n<p>Read (r)<br \/>\nWrite (w)<br \/>\nExecute (x)<\/p>\n<p>Viewing permissions:<\/p>\n<p>ls -l<\/p>\n<p>    Enter fullscreen mode<\/p>\n<p>    Exit fullscreen mode<\/p>\n<p>Changing permissions:<\/p>\n<p>chmod 755 script.sh<\/p>\n<p>    Enter fullscreen mode<\/p>\n<p>    Exit fullscreen mode<\/p>\n<p>Changing ownership:<\/p>\n<p>chown user:user file.txt<\/p>\n<p>    Enter fullscreen mode<\/p>\n<p>    Exit fullscreen mode<\/p>\n<p>Permissions are critical for maintaining system security.<\/p>\n<p>  Service Management<\/p>\n<p>One interesting topic was managing services using systemctl.<\/p>\n<p>Check Service Status<\/p>\n<p>systemctl status nginx<\/p>\n<p>    Enter fullscreen mode<\/p>\n<p>    Exit fullscreen mode<\/p>\n<p>Start a Service<\/p>\n<p>systemctl start nginx<\/p>\n<p>    Enter fullscreen mode<\/p>\n<p>    Exit fullscreen mode<\/p>\n<p>Stop a Service<\/p>\n<p>systemctl stop nginx<\/p>\n<p>    Enter fullscreen mode<\/p>\n<p>    Exit fullscreen mode<\/p>\n<p>Restart a Service<\/p>\n<p>systemctl restart nginx<\/p>\n<p>    Enter fullscreen mode<\/p>\n<p>    Exit fullscreen mode<\/p>\n<p>This is especially useful when managing web servers and applications.<\/p>\n<p>  Viewing Logs<\/p>\n<p>Logs help identify issues and troubleshoot systems.<\/p>\n<p>tail -f \/var\/log\/messages<\/p>\n<p>    Enter fullscreen mode<\/p>\n<p>    Exit fullscreen mode<\/p>\n<p>journalctl -xe<\/p>\n<p>    Enter fullscreen mode<\/p>\n<p>    Exit fullscreen mode<\/p>\n<p>Understanding logs is one of the most important skills for troubleshooting production systems.<\/p>\n<p>  My First Bash Script<\/p>\n<p>I wrote a simple script to check whether Nginx is running.<\/p>\n<p>#!\/bin\/bash<\/p>\n<p>if systemctl is-active &#8211;quiet nginx<br \/>\nthen<br \/>\n    echo &#8220;Nginx is running&#8221;<br \/>\nelse<br \/>\n    echo &#8220;Nginx is not running&#8221;<br \/>\nfi<\/p>\n<p>    Enter fullscreen mode<\/p>\n<p>    Exit fullscreen mode<\/p>\n<p>This helped me understand:<\/p>\n<p>if-else conditions<br \/>\nshell scripting basics<br \/>\nautomation concepts<\/p>\n<p>It was my first step toward infrastructure automation.<\/p>\n<p>  Challenges I Faced<\/p>\n<p>During my learning, I encountered a few challenges:<\/p>\n<p>Understanding Linux permissions<br \/>\nNavigating directories quickly<br \/>\nReading system logs<br \/>\nWriting Bash scripts correctly<\/p>\n<p>After practicing commands repeatedly and experimenting on AWS EC2 instances, these concepts became much clearer.<\/p>\n<p>  Key Takeaways<\/p>\n<p>This week taught me that Linux is much more than just a command-line operating system.<\/p>\n<p>I learned:<\/p>\n<p>\u2705 Linux file system structure<\/p>\n<p>\u2705 Essential Linux commands<\/p>\n<p>\u2705 File and directory management<\/p>\n<p>\u2705 System monitoring basics<\/p>\n<p>\u2705 Service management<\/p>\n<p>\u2705 Log analysis<\/p>\n<p>\u2705 Bash scripting fundamentals<\/p>\n<p>Most importantly, I realized that strong Linux fundamentals make learning DevOps tools much easier.<\/p>\n<p>  What&#8217;s Next?<\/p>\n<p>In Week 2, I plan to learn:<\/p>\n<p>Advanced Linux Commands<br \/>\nUser and Group Management<br \/>\nNetworking Basics<br \/>\nSSH and Remote Access<br \/>\nPackage Management<br \/>\nMore Bash Scripting<\/p>\n<p>  Final Thoughts<\/p>\n<p>Every DevOps Engineer starts somewhere, and Linux is the perfect place to begin.<\/p>\n<p>This week gave me a solid foundation and increased my confidence in working with servers and cloud environments. I&#8217;m excited to continue learning and sharing my progress through this blog series.<\/p>\n<p>If you&#8217;re also starting your DevOps journey, feel free to connect and share your experiences.<\/p>\n<p>See you in Week 2! \ud83d\ude80<\/p>\n<p><br \/>\n<br \/><a href=\"https:\/\/dev.to\/arpit_mungone_0107\/learning-linux-from-scratch-my-first-week-in-devops-2of2\">Source link <\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hello everyone! \ud83d\udc4b Welcome to Week 1 of my DevOps learning journey. As a final-year BCA student specializing in Cloud Computing, I have decided to document my journey toward becoming a DevOps Engineer. This blog series will cover everything I learn, from Linux fundamentals to cloud computing, containers, CI\/CD, Kubernetes, and monitoring tools. Since Linux [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":5932,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[676],"tags":[1138,761,765,762,2108,1088,763,764,1239,760],"class_list":["post-5931","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tech-ai","tag-beginners","tag-coding","tag-community","tag-development","tag-devjournal","tag-devops","tag-engineering","tag-inclusive","tag-linux","tag-software"],"_links":{"self":[{"href":"https:\/\/daiilynews.cu.ma\/index.php?rest_route=\/wp\/v2\/posts\/5931","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/daiilynews.cu.ma\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/daiilynews.cu.ma\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/daiilynews.cu.ma\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/daiilynews.cu.ma\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5931"}],"version-history":[{"count":0,"href":"https:\/\/daiilynews.cu.ma\/index.php?rest_route=\/wp\/v2\/posts\/5931\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/daiilynews.cu.ma\/index.php?rest_route=\/wp\/v2\/media\/5932"}],"wp:attachment":[{"href":"https:\/\/daiilynews.cu.ma\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5931"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/daiilynews.cu.ma\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5931"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/daiilynews.cu.ma\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5931"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}