Basic Linux Commands with a Twist

Basic Linux Commands with a Twist

#90DaysOfDevOps Challenge: Basic Linux Commands with a Twist

Day 3 of #90DaysOfDevOps Challenge: Basic Linux Commands with a Twist

Hey everyone! For Day 3 of my #90DaysOfDevOps challenge, I learned some more Linux commands with fun tasks to practice. Here’s what I did today:

1. View the content of a file with line numbers

learned how to see the content of a file and add line numbers to it:

2. Change file permissions

practiced setting file permissions so that only the owner can read, write, and run the file:

3. Check my last 10 commands

looked at the last 10 commands I had used:

4. Remove a directory and all its contents

also practiced removing an entire directory:

5. Create a file and add City to it

created a file called City.txt and added a list of fruits:

?

6. Append a City to the list

then added "Shivaji Place" to the end of the file:

7. Show the first three City in reverse order

learned to display the first three Place, but in reverse:

8. Sort the last three City alphabetically

displayed the last three City and sorted them alphabetically:

9. Create a file with colors

created a file called Colors.txt and added some colors:

10. Prepend a color to the file

added "Yellow" to the beginning of the colors list:

11. Find common lines between two files

found the lines that were the same in both City.txt and Colors.txt:

12. Count lines, words, and characters

Lastly, I counted the number of lines, words, and characters in both files:


That’s it for Day 3! These Linux tasks were really fun and helped me get more comfortable with the command line. Let’s keep the learning going!

#Day3 #DevOpsJourney #LinuxCommands #LearningLinux #Automation #90DaysChallenge

Ankit Sehgal

||Azure & Terraform Champion|| Linux?? |Terraform??? | Docker?? | Kubernetes ?? | Git ?? | CI/CD ?? | GitHub Actions ?? | Prometheus | Grafana |

4 个月

Very helpful!

要查看或添加评论,请登录

Naushad khan的更多文章

  • Day 9 : Directory Backup with Rotation Using Bash ???

    Day 9 : Directory Backup with Rotation Using Bash ???

    ?? Day 9 of #90DaysOfDevOps: Directory Backup with Rotation Using Bash ??? #Day8 #BashScripting #DevOpsJourney…

  • ?? Day 8 of #90DaysOfDevOps Challenge: Bash Scripting Basics ???

    ?? Day 8 of #90DaysOfDevOps Challenge: Bash Scripting Basics ???

    Today, I explored the essentials of bash scripting, covering key concepts step by step. Here's how I tackled each task,…

  • Day 6: File Permissions and Access Control

    Day 6: File Permissions and Access Control

    Day 6 of #90DaysOfDevOps Challenge: File Permissions and Access Control Hello everyone! On Day 6 of my #90DaysOfDevOps…

  • Day 4 Task: Basic Linux Shell Scripting for DevOps Engineers

    Day 4 Task: Basic Linux Shell Scripting for DevOps Engineers

    Hello, everyone! On Day 4 of my #90DaysOfDevOps challenge, I explored Linux shell scripting and learned some key…

    1 条评论
  • Basic Linux Commands Day2

    Basic Linux Commands Day2

    Welcome to Day 2 of my #90DaysOfDevOps challenge! Today, I explored some fundamental Linux commands that are super…

    1 条评论
  • Introduction to DevOps

    Introduction to DevOps

    Day 1 of #90DaysOfDevOps Challenge: Introduction to DevOps Hey everyone! I’ve officially started my #90DaysOfDevOps…

    1 条评论