Re: [ILUG] Running command after login.

From: Jerry Walsh (jerry at domain aardvark.ie)
Date: Thu 27 Sep 2001 - 11:38:10 IST


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.



This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:12:19 GMT