LazyDevOps-Terminal: My First DevOps CLI Tool Using Bash & Git

Omkar PinjarkarOmkar Pinjarkar
2 min read

1. Introduction

In my DevOps learning journey as a final-year CS student, I built my first CLI tool using Bash scripting and Git. This project simulates basic DevOps commands and file operations, which helped me understand Linux better and get hands-on with Git. Here’s how I did it.


2. Project Objective

  • Build a menu-based terminal tool

  • Simulate DevOps-like tasks (e.g., init repo, create file/folder, manage permissions)

  • Practice Bash and Git together


3. Tech Stack

  • Bash (Shell Scripting)

  • Git

  • Linux Terminal


4. Menu Options I Created

1. Show current directory
2. Create a file
3. Create a folder
4. Initialize Git repo
5. Commit a file
6. Show user and permissions
7. Change file permission
8. Exit

5. Key Code Snippet:

read -p "Enter filename to commit: " gfile
git add "$gfile"
git commit -m "Added $gfile"

6. What I Learned
✅ Git basics
✅ Bash scripting logic
✅ Permission commands
✅ Version control flow
✅ How DevOps tasks can be simulated in CLI


7. GitHub Repo
🔗 View on GitHub


8. What’s Next?
In the next DevOps project, I’ll automate some server tasks, build shell functions, and start touching cloud automation.


9. Conclusion
Starting small with CLI-based projects really helps in getting confident with terminal usage, Git workflows, and writing automation-ready scripts. I’m documenting all of this as part of my public DevOps journey.

0
Subscribe to my newsletter

Read articles from Omkar Pinjarkar directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Omkar Pinjarkar
Omkar Pinjarkar