🚀 Learn 90+ coding courses & crack 200+ competitive exams — powered by learning intelligence on Leyaa.ai →
write a shell script that takes your name as input and display
Let's write a shell script which takes our name as input and display it.
Shell Script
name.sh
Example
#Name input and displayread name
echo "Your Name = $name"
Output
sh name.sh
Bash
Your Name = Bash
🚀 Code smarter. Crack exams faster.
90+ interactive coding courses & 200+ competitive exam prep — powered by learning intelligence. All free.
Try Leyaa.ai Now →