Link to home
Start Free TrialLog in
Avatar of JohnLucania
JohnLucania

asked on

Creating global alias

How do you create permanent aliases for all users in 5.2?

I want these two:

PDC # alias ccllive='cd /...... bla ....../livescripts'
PDC # alias ccltest='cd /...... bla ....../testscripts'

I created the aliases under root, but the users can't run the aliases.
SOLUTION
Avatar of sjm_ee
sjm_ee
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of JohnLucania
JohnLucania

ASKER

For each user, do you mean this?

root@prod2:/home/jlucania>
PDC # vi .profile
".profile" 9 lines, 254 characters


PATH=/usr/bin:/etc:/usr/sbin:/usr/ucb:$HOME/bin:/usr/bin/X11:/sbin:.

export PATH

if [ -s "$MAIL" ]           # This is at Shell startup.  In normal
then echo "$MAILMSG"        # operation, the Shell checks
fi                          # periodically.
alias ccllive='cd /...bla.../livescripts'
alias ccltest='cd /...bla.../testscripts'

SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial