Skip to content

Instantly share code, notes, and snippets.

@timlegrand
timlegrand / prompts.sh
Created September 7, 2015 20:30
Demonstrate Bash prompts, usage and display
#!/bin/bash
read -p "Country? [number]: " country ;
read -p "Layout? [number]: " layout ;
echo "Keyboard: [$country/$layout]"