Operating System - HP-UX
1825801 Members
2524 Online
109687 Solutions
New Discussion

Alias command in HP-UX 11.0

 
SOLVED
Go to solution
Bruce Middler
Occasional Contributor

Alias command in HP-UX 11.0

What is the filename where the alias commands are stored when you login ??
5 REPLIES 5
Victor BERRIDGE
Honored Contributor
Solution

Re: Alias command in HP-UX 11.0

Hi,
With ksh shell:
.kshrc
but you will have to add in .profile:
ENV=$HOME/.kshrc
export ENV

but i suppose it will work in .profile...

All the best
Victor
James R. Ferguson
Acclaimed Contributor

Re: Alias command in HP-UX 11.0

Hi Bruce:

You can put your own aliases in $HOME/.profile. If you want to see all aliases in effect, type 'alias'.

...JRF...
Mark Mitchell
Trusted Contributor

Re: Alias command in HP-UX 11.0

I add them to /etc/profile on my DEC systems because I am so use to HP. I wanted the commands to port over.
Rob Smith
Respected Contributor

Re: Alias command in HP-UX 11.0

Hi, you set your aliases up in your .profile file. Hope this helps.

Rob
Learn the rules so you can break them properly.
Patrick Wallek
Honored Contributor

Re: Alias command in HP-UX 11.0

I typically set aliases in my .profile, but you can put them in a .cshrc, .kshrc file as well. There is no file that is used just for alias definitions.