🐧Linux commands for DevOps with examples (Commands used in day-to-day activities).
cat: To view what's written in a file.
chmod: To change the access permissions of files.
history: To check which commands you have run till now.
rm -r : To remove a directory/ Folder.
echo "fruit's_name">fruit.txt or touch: To create a fruits.txt file and
cat: To view the content.
echo: To add content in devops.txt (One in each line) - Apple, Mango, Banana, Cherry, Kiwi, Orange, Guava.
head -n 3: To Show only top three fruits from the file.
tail -n 3: To Show only bottom three fruits from the file.
echo "colors_name">color.txt or touch: To create another file Colors.txt and cat: To view the content.
echo: To add content in Colors.txt (One in each line) - Red, Pink, White, Black, Blue, Orange, Purple, Grey.
diff: To find the difference between fruits.txt and Colors.txt file.
I'm confident that this blog will prove to be valuable, helping you discover new insights and learn something enriching .🙏
😊Happy Learning : )