I was trying to modify my .profile, which based on whether I am using a KEA or a Exceed terminal would set some of my environment variables differently.
How can my .profile know which terminal has been invoked ?
If you are using different terminal types, you might be able to use the value of $TERM to determine where you are coming from. Otherwise, you are probably just doing an "rexec" from your PC, so there's no way (I know of) for the server to know what software is sending that command.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.