How do i fix bash error - /dev/tty No such device or address
问题 As the question specifics ,i am getting this error while executing my bash script In exact terms i get following error bash: line 26: /dev/tty: No such device or address bash: line 29: /dev/tty: No such device or address Here are the concerned Line 26 and 29 in script respectively which causes the issue read -e -p "Paste the links : " links </dev/tty read -e -p "Enter your input : " sub </dev/tty If someone wonders, i cannot simply remove writing to </dev/tty from line 26 and 29 , it causes