I have following code to execute some commands on a virtue screen:
screen -R << EOF
cd /home/users/devops_tester/apps/Selenium-Webdriver
export DISPLAY=:99
npm start
EOF
It gives me an error:
Must be connected to a terminal.
How can I solve it?
I found this related topics but I am not using ssh:
This is the screen app: