I want to run a command every time I log in to my Ubuntu box, but only if I'm connecting through telnet, not if I'm logging in at the console.
|
feedback
|
|
Something like this in your .bashrc (assuming bash) should work fairly well:
You would just replace the echo's with whatever it was that you wanted to run. | |||||||
feedback
|