Sample Bash Script

%%bash

# This is a simple Bash script that greets the user.

# Prompt the user for their name
echo "Hello! What's your name?"

# Read the user's input into a variable
read user_name

# Greet the user using the saved variable
echo "Hello, $user_name! Nice to meet you."
Hello! What's your name?
Hello, ! Nice to meet you.