getting user input in bash Posted Sep 12, 2025 By Victor Elgersma 1 min read 1 2 3 4 5 6 7 8 $ cat parrot #!/bin/bash read HELLO echo "user said \"$HELLO\"" $ ./parrot hello there user said "hello there" snippets unix bash This post is licensed under CC BY 4.0 by the author. Share