Hello, I have a bash script running on one server, but I am executing it from a different server. So here is the way I'm calling it in the script:
ssh server "./script.sh"
and then it goes from there. Now in script.sh, the script is menu based and there are a bunch of read statments asked which then turn into variables. What I want to do to make the script look a little better as the user is going through is have a clear after each read statement. This of course works when executing the script from the server itself, but not when executing the script from another server. Here's the error:
Code:
no terminal type specified and no TERM environmental variable.
The script must be executed from this other server and not from the server with the actual script. How can I do this? Thank you.