DEV Community

Cover image for βœ… Day 29 Theme: "Linux Portfolio Builder + Reflections CLI Style"
Rajpreet Gill
Rajpreet Gill

Posted on

βœ… Day 29 Theme: "Linux Portfolio Builder + Reflections CLI Style"

🎯 Goal:

Create a script or command-line experience that summarizes 30-day journey β€” like a terminal-based interactive resume or Linux diary.

πŸ”§ Day29.sh – The Interactive Linux Portfolio Script

`#!/bin/bash

clear
echo "=============================="
echo " Rajpreet's 30-Day Linux Journey"
echo "=============================="
echo ""

echo "πŸ“… Days Completed: 29 / 30"
sleep 1

echo ""
echo "πŸš€ Highlights:"
echo "- Git, Terraform, CI/CD"
echo "- AI-powered health checks"
echo "- Email alert automation"
echo "- SSH Key Auth + Secure portal"
echo "- Candy Crush in Terminal for kids"
echo "- Social media detox with /etc/hosts"
echo "- Raspberry Pi AI Cat Feeder"
echo "- Weather App CLI"
echo "- Dangerous command safety"
echo "- Linux history (NASA style)"
sleep 2

echo ""
read -p "πŸ‘‰ Want to see the most used commands? (y/n): " ans

if [[ $ans == "y" ]]; then
  echo ""
  echo "πŸ“Š Most Used Commands:"
  history | awk '{CMD[$2]++}END{ for(a in CMD)print CMD[a] " - " a;}' | sort -rn | head -10
  echo ""
fi

read -p "πŸ‘‰ Want to see your favorite projects? (y/n): " proj
if [[ $proj == "y" ]]; then
  echo ""
  echo "πŸ”₯ Favorite Projects:"
  echo "- Candy Crush Terminal Game"
  echo "- AI Cat Feeder with Raspberry Pi"
  echo "- Secure Banking Portal Sim"
  echo "- Weather CLI App"
  echo "- CI/CD Deployment Script"
  echo ""
fi

read -p "πŸ‘‰ Show a thank-you message? (y/n): " thank
if [[ $thank == "y" ]]; then
  echo ""
  echo "πŸ™ THANK YOU!"
  echo "To the 1300+ dev.to followers, the Linux community,"
  echo "and everyone who helped me grow. Let's keep hacking 🐧"
  echo ""
fi

echo "Done. Ready for Day 30 πŸŽ‰"
`
Enter fullscreen mode Exit fullscreen mode

Save as day29.sh, then run:

Image description

Image description

"Then, I'll get a question and press 'yes'.":
πŸ‘‰ Want to see the most used commands? (y/n): y
πŸ‘‰ Want to see your favorite projects? (y/n): y
πŸ‘‰ Show a thank-you message? (y/n): y

πŸ“˜ Bonus (Markdown/Reflection Tasks)

Along with the script:

Jot down your 5 favorite commands with examples
Screenshot your terminal output from the script and save for Day 30 blog
Final push: commit this to GitHub with the title: linux-30day-portfolio

πŸš€ Outcome of Day 29

βœ… Portfolio script done
βœ… Ready content for Day 30
βœ… Refreshed memory of full journey
βœ… Personal closure before the public celebration

#30DaysLinuxChallenge #CloudWhisler
#DevOps #Linux #RHCSA #Opensource #AWS #CloudComputing

Catch out by My LinkedIn profile
https://www.linkedin.com/in/rajpreet-gill-4569b4161/

Top comments (0)