Originally posted by: Jeremy UCSDMC
I'm new to the alias command and others use it very successfully at our organization. I see we have a bunch of alias defined already for root and would like to know where I define these if anyone knows. Is there a file that I can edit to add each alias command? Here is what root has currently and it isn't in his .profile or in any file that other websites have pointed me to. Help?
/usr/bin -> alias
autoload='typeset -fu'
babin='cd /usr/tivoli/tsm/client/ba/bin'
bld='csession bld -U "BLD" "^%ZdALTE"'
ccon=/usr/bin/ccontrol
cds='cd /nfs/scripts'
clshowsrc='/usr/es/sbin/cluster/utilities/clshowsrv -v'
command='command '
disable_user='chuser account_locked=true login=false'
dscli='/opt/ibm/dscli/dscli -cfg /opt/ibm/dscli/profile/ucsd_dscli.profile'
ec=/epic/bin/epiccontrol
ecd='csession ecd -U "ECD" "^%ZdALTE"'
em=/epic/bin/epicmenu
functions='typeset -f'
grep=/usr/bin/grep
ha_pass='/usr/es/sbin/cluster/cspoc/fix_args nop cl_chpasswd -cspoc -f -r'
has='/usr/es/sbin/cluster/utilities/clshowsrv -v'
hash='alias -t -'
history='fc -l'
htail='tail -f -n 100 /var/hacmp/log/hacmp.out'
ibd='csession ibd -U "IBD" "^%ZdALTE"'
integer='typeset -i'
itst='csession itst -U "ITST" "^%ZdALTE"'
local=typeset
ls=/usr/bin/ls
mdrc='csession mdrc -U "PRD"'
mdrp='csession mdrp -U "PRD"'
mdrv='csession mdrv -U "PRD"'
mtrn='csession mtrn -U "MTRN" "^%ZdALTE"'
nohup='nohup '
pq='pcmpath query'
prd='csession prd -U "PRD" "^%ZdALTE"'
pskill='ps -o %u:%p:%a -ef'
psup='csession psup -U "PSUP" "^%ZdALTE"'
r='fc -e -'
reset_user='chsec -f /etc/security/lastlog -a "unsuccessful_login_count=0" -s'
restart_ssh='stopsrc -s sshd; startsrc -s sshd'
rlt='csession rlt -U "RLT" "^%ZdALTE"'
rm='rm -i'
shd='csession shd -U "PRD" "^%ZdALTE"'
stop='kill -STOP'
suspend='if [
${0#-} = $0 ] ; then kill -STOP $$; else dspmsg -s 1 ksh.cat SUS
PEND "suspend: cannot suspend login shell
"; fi '
trn='csession trn -U "TRN" "^%ZdALTE"'
tst='csession tst -U "TST" "^%ZdALTE"'
tstail='tail -f -n 100 /usr/tivoli/tsm/client/ba/bin/dsmsched.log'
ttail='tail -f -n 100 /usr/tivoli/tsm/client/ba/bin/dsmerror.log'
type='whence -v'
vi=/usr/bin/vi
/usr/bin ->