I am very new to writing Shell scripts and am trying to write a simple script to run Vagrant up then SSH into the box and run some commands. The
echo Hi there will run but the
read -p will never show. Am I doing this wrong or is there a work around of some sort?
vagrant ssh default << 'ENDSSH' read -p "Enter your first name:" FIRST_NAME echo Hi there ENDSSH