cancel
Showing results for 
Search instead for 
Did you mean: 

Aliases in SAP on LINUX OS

Former Member
0 Kudos

Which file stores the aliases at OS (operating system) level in linux,unix.

How do you set the aliases.

Accepted Solutions (1)

Accepted Solutions (1)

former_member191418
Active Participant
0 Kudos

you can do it in any one file (based on the shell you use)

Answers (4)

Answers (4)

Former Member
0 Kudos

Thank you Mothukuru Satish Kumar and my query has been answered

Former Member
0 Kudos

Which shell is the best to use, either CSH or SH

Former Member
0 Kudos

SAP installs by default the users with the csh.

Kind regards,

Mark

Former Member
0 Kudos

Thats fine, why do we use two *sh files. i mean shell *.CSH and *.SH. cant we save in anyone of them

former_member191418
Active Participant
0 Kudos

switch user to <SID>adm and execute ls -al

edit hidden file .sapenv_<hostname>.csh or .sapenv_<hostname>.sh (depending on shell you choose) by adding the following line (for example): using vi editor

alias cdpro 'cd /usr/sap/$SAPSYSTEMNAME/SYS/profile'

Then logoff/login and check with command "alias" & "cdpro"