
Greetings, fellow tech explorers! 🚀 Welcome to Day 3 of the #90DaysOfDevOpsChallenge. Today, we're delving into some fundamental Linux commands that every aspiring Linux enthusiast should have in their toolkit.
Hey, before you go through this blog, if you haven't cleared the understanding of Linux permissions, I would highly suggest checking out my previous blog on the topic. It's titled 'Linux: File Permissions' and provides a comprehensive guide to mastering Linux file permissions.
1. View Contents of a File:
cat filename
2. Change Access Permissions:
chmod options filename
3. Check Command History:
history
4. Remove a Directory:
rmdir directoryname
5. Create and View a File:
touch fruits.txt
cat fruits.txt
6. Add Content to devops.txt:
echo -e "Apple\nMango\nBanana\nCherry\nKiwi\nOrange\nGuava" > devops.txt
7. Show Top Three Fruits:
head -n 3 devops.txt
8. Show Bottom Three Fruits:
tail -n 3 devops.txt
9. Create and View Another File:
touch Colors.txt
cat Colors.txt
10. Add Content to Colors.txt:
echo -e "Red\nPink\nWhite\nBlack\nBlue\nOrange\nPurple\nGrey" > Colors.txt
11. Find the Difference:
diff fruits.txt Colors.txt
Embark on these Linux commands and witness the magic unfold! Stay tuned for more insights into the world of DevOps. Happy coding! 🌐💻
About the author
Hello there! I'm Tanishq, a student with a passion for mastering the intricacies of DevOps as well as Development Field. Eager to leverage technology to streamline development processes and drive innovation.
Comments
Join the discussionNo comments yet. Be the first to comment.
90DaysOfDevOps
Embark on a 90-day DevOps odyssey with daily challenges, hands-on projects, and reflections. Join the journey of learning, growing, and mastering the art of DevOps! 🚀 #90DaysOfDevOpsChallenge




