- Регистрация
- 1 Мар 2015
- Сообщения
- 1,481
- Баллы
- 155
? 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 ?"
`
Save as day29.sh, then run:
"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:
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
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 ?"
`
Save as day29.sh, then run:
"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:
? Outcome of Day 29Jot 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
#30DaysLinuxChallenge #CloudWhisler
#DevOps #Linux #RHCSA #Opensource #AWS #CloudComputing
Catch out by My LinkedIn profile