starting unix

I was wondering if there is a unix version of an autoexec.bat, if there is where will it be?

I am new to unix so please be gentle!!

autoexec.bat is suppose to be one of Win32 (MS) components. Anyway check cygwin www.cygwin.com Its a Win32 based Unix variant from RH check it out. You may try on it.

what i meant was ...

as the unix box starts, it looks like it processes a script (like the windows autoexec.bat)?

i want to find this file!!

thanks,

rich

There are a few ways that the startup scripts are run. It really depends on your vendor, and the software release.
You should be able to get a good idea of what you have by running the command uname -a. Please post that back, and someone can try to help.

SCO_SV imsfin 3.2 2 i386

Unix usually runs .profile (it's a hidden file. use 'ls -a' to view it) and .login files present in the HOME directory of the unix machine.

hooray!
thanks,

rich

.profile and .login are only run when a user logs in. Files like /etc/profile are also run.

You have to check rc and init scripts for startup commands...

I do not know where SCO init files reside, though...

Anyone else?

Try /etc/rc.d (that is a directory name even though it has a . in it)

There's a readme file in there that explains it. (cat readme|pg to read it)

Have managed to find a way to resolve problem. Many thanks for all suggestions.

IMS Helpdesk