Automatic alias's

Hi all

Im just wondering something, i constantly have to use 2 commands at work, i know how to alias them out to short commands so i dont have to type (or scroll back to my last)

~support/bin/bearertool -sc <name>

the problem is i connect as a user and not as root through multiple F-secure SSH client session.

Each time i open a new session i lose the alias be='~xxxx' commands and either have to input new ones or copy and paste the commands into the new window from a word document i have open.

the new session drops me to a pwd of /home/ml is there anyway to have it so that each time i log into a new session it will run the alias commands for me?

i cant connect as root to make them permanant so it has to be something i can run from my home directory or that will auto run.

Thanks in advance

The Ripster

I don't really know exactly what you're trying to do. But shells have startup scripts that run at login time. Which script depends on which shell. It sounds like you might just need to add the alias lines to the appropriate startup script. If you don't know what that is, tell what shell and what system you are using.

usually, .profile is standard.

Hi,

Please look at the standard shell you use for logging in :

grep `whoami` /etc/passwd | awk -F: '{print $7}'

the /bin/ksh and /bin/sh use ~/.profile
the /bin/csh use ~/.login

the command "cd" without any parameters always help you to go to your homedir as wel.
If it should be set for each user, just use the file /etc/profile

Regs David