🐧Day 3 - Linux & Basic Commands : Part-II

🐧Day 3 - Linux & Basic Commands : Part-II

🐧Linux commands for DevOps with examples (Commands used in day-to-day activities).

  1. cat: To view what's written in a file.

  2. chmod: To change the access permissions of files.

  3. history: To check which commands you have run till now.

  4. rmdir: To remove a directory/ Folder.

  5. echo "fruit's_name">fruit.txt or touch: To create a fruits.txt file and

    cat: To view the content.

  6. echo: To add content in devops.txt (One in each line) - Apple, Mango, Banana, Cherry, Kiwi, Orange, Guava.

  7. head -n 3: To Show only top three fruits from the file.

  8. tail -n 3: To Show only bottom three fruits from the file.

  9. echo "colors_name">color.txt or touch: To create another file Colors.txt and cat: To view the content.

  10. echo: To add content in Colors.txt (One in each line) - Red, Pink, White, Black, Blue, Orange, Purple, Grey.

  11. 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 : )