Skip to main content

Mastering Essential Linux Commands for DevOps | Day 3 of 90 Days of DevOps Journey ๐Ÿš€๐Ÿ’ป

Updated 2 min readMarkdown
Part of series90DaysOfDevOps
Mastering Essential Linux Commands for DevOps | Day 3 of 90 Days of DevOps Journey  ๐Ÿš€๐Ÿ’ป

Introduction

Welcome back to my DevOps learning journey! Today, we're diving deeper into essential Linux commands that will skyrocket our efficiency and automation skills, particularly in file operations. These commands are fundamental to DevOps success, enabling us to streamline workflows and enhance productivity. Join me as we explore these powerful Linux commands and unlock their potential in file management!

View File Contents ๐Ÿ“„

The cat command displays the contents of a file, allowing us to see the text or data stored within.

Change Access Permissions ๐Ÿ”’

The chmod command modifies the access permissions of files, controlling who can read, write, or execute them.

Check Command History โฐ

The history command shows a list of previously executed commands, giving us a recap of our command-line journey.

Remove a Directory/Folder ๐Ÿ—‘๏ธ

The rmdir command deletes a directory or folder, allowing us to remove unnecessary file structures.

Create and View File Content ๐Ÿ“

The touch command creates a file and the cat command displays its contents, enabling efficient file creation and viewing.

Add Content to "devops.txt" ๐Ÿ“

The echo command adds content to the devops.txt file, allowing us to append data line by line.

Show Top Three Fruits from the File ๐Ÿ”

Description: The head command displays the top three fruits from the "devops.txt" file, helping us extract specific lines from the file.

Show Bottom Three Fruits from the File๐Ÿ”ป

Description: The tail command reveals the bottom three fruits from the "devops.txt" file, extracting the desired lines from the file's end.

Create and View Content in "Colors.txt" ๐Ÿ“‚

Similar to "fruits.txt," the touch command creates a "Colors.txt" file, and the cat command displays its contents, facilitating efficient file creation and viewing.

  • touch Colors.txt

  • cat Colors.txt

  1. Add Content to "Colors.txt" ๐Ÿ“‚

    The echo command adds various colors to the "Colors.txt" file, allowing us to append data line by line.

    echo -e "Red\nPink\nWhite\nBlack\nBlue\nOrange\nPurple\nGrey" > Colors.txt

  2. Find Differences Between "fruits.txt" and "Colors.txt" Files ๐Ÿ”„

    The diff command compares the contents of the "fruits.txt" and "Colors.txt" files, highlighting any differences between the two.

Thats it!

Join me on this exciting DevOps journey as we master essential Linux commands for efficient file operations! Stay tuned for daily updates, practical insights, and valuable tips to enhance your DevOps skills.

Remember to like, comment, and share this post if you find it helpful. Let's inspire and support each other on this incredible 90 Days of DevOps adventure!

#DevOpsJourney #LinuxCommands #Efficiency #Automation #TechSkills #LearningCommunity

About the author

  • ๐Ÿ‘ฉโ€๐Ÿ’ป As a seasoned software engineer with 7+ years of experience, my expertise includes:

    • ๐ŸŒ Developing web applications using Javascript (frontend and backend)
    • ๐Ÿ’ผ Working across diverse industries like construction, finance, marketing, and entrepreneurship
    • ๐ŸŽ“ Holding a postgraduate degree in Master of Computer Applications from the University of Pune

    ๐Ÿ”ง My technical prowess lies in:

    • โš›๏ธ Leading Javascript frameworks: React, Node.js, and Express.js
    • ๐Ÿš€ Delivering robust and scalable web applications with the best software engineering practices

    ๐ŸŒฑ Excitingly, I've started my DevOps learning journey with #90DaysOfDevOps to enhance my skills in this area.

    ๐Ÿง  Beyond technical skills, I offer:

    • ๐Ÿ’ก Exceptional problem-solving abilities and a strong aptitude for learning new technologies
    • ๐Ÿค A collaborative mindset, making me a valuable team player in diverse environments

    ๐Ÿš€ My passion is in delivering high-quality software solutions that solve real-world problems. If you're seeking a skilled and experienced software engineer for top-notch web applications, let's connect and explore potential opportunities together! ๐Ÿค

No comments yet. Be the first to comment.

More from this blog