How to read just a single character in shell script May 24, 2023 by Tarik In bash, read can do it: read -n1 ans