Luis,
You can create a file named .profile (dot profile) in your home
directory. The commands in this file will be run each time you log
on.
Also, with the korn shell, you can create an invocation file that will
be run each time a korn shell is started. The korn shell looks for
the variable ENV in it's environment. If found, the korn shell will
execute the commands in the file that the ENV variable points to.
Example:
$ cat .profile
ENV=${HOME}/.ksh_options
export ENV
$ cat .ksh_options
alias dir='ls -la'
Hope this is of some help.
Regards,
Gary
>Dear Group,
> Hello, i want to start a few programs when i log in into my unix
>account using the korn shell.. Is there an equivalent of autoexec.bat
>in dos so that i can type in the commands and have them run
>automatically at start up.
>Thank You,
>Luis
>Sent via Deja.com http://www.deja.com/
>Before you buy.