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.
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
root@prod2:/home/jlucania>
PDC # vi .profile
".profile" 9 lines, 254 characters
PATH=/usr/bin:/etc:/usr/sb
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'