Skip to content

Instantly share code, notes, and snippets.

View deepakgudla's full-sized avatar
🚀

Deepak Gudla deepakgudla

🚀
View GitHub Profile
@deepakgudla
deepakgudla / surprise.sh
Last active November 8, 2023 20:55
surprise.sh
#!/bin/bash
# Function to check if a command is available
command_exists() {
command -v "$1" >/dev/null 2>&1
}
# Check if figlet is installed, and install it if not
if ! command_exists figlet; then
echo "Installing figlet..."