[ILUG] Running command after login.
Jerry Walsh
jerry at aardvark.ie
Thu Sep 27 11:38:10 IST 2001
Howdy,
>I want to be able to run a script after logging into a machine.
>.login/.cshrc etc files are not the answer.
Why not? because you don't want to use them or because you've tried and
they don't work?
> What I want to be able to do is something along the lines of...
>
>rlogin machine_name -execute command/script_name
>
>I know rsh can do this but it then returns you to the original machine, is
>there a way I can stay logged into the target machine. man rsh/rlogin,
>google etc. all done, ssh not an option unfortunately. I'm beginning to
>think this is not possible.
What about running the command in a screen?
You can detach the screen and re-attached it and continue where you left
off at a later time.
Jerry.
More information about the ILUG
mailing list