Lauching script at shell startup without having root access.
Hello
I am searching how to automatically launch a script at the terminal start up with limited access : i am not authorized to log as root on this machine, and so I can't edit /etc/csh.cshrc, etc... Can I do it with editing .tcshrc or another user's accessible files ? Sorry for my english and my newbicity and thanks to you ;) |
It all depends on when you want the script to be launched.
Terminal startup if you mean when you login to the server then yes you can add your script to the .tcshrc or .bashrc or whatever shell you have. But if you want the script to be launched when the server first boots up then you will have to have access to one of the startup files most notably rc.local |
Quote:
Can you please tell me how I must make the reference to the script in tcshrc, perhaps I did it wrong ? Thanks you a lot ! |
All times are GMT -5. The time now is 03:02 PM. |