1

I have written a script that is to display content in a directory, take user input, and then write the path to a .txt file based on the user input. The code is to wait for user input before displaying the next image. I am currently using

read -rsn1

but it seems to be skipping over this part of the code. The script is in bash and being ran in the terminal. Any ideas what I may be doing incorrectly? Thanks! enter image description here

marked as duplicate by Kusalananda bash Oct 29 '18 at 6:45

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Browse other questions tagged or ask your own question.