Monday, October 31, 2011

cdexe: SAP Kernel Directory in UNIX & Linux

In UNIX/Linux operating system, you can directly jump into SAP kernel directory by executing command cdexe instead of typing the whole path. The SAP kernal is located in /usr/sap/SID/SYS/exe/run. This command need to be execute by logged as SIDadm.

1. Logged as SIDadm. Execute command cdexe

> cdexe

2. Check the path directory.

> pwd
/usr/sap/SID/SYS/exe/run

3. List all files inside the cdexe.

> ls
SAPCAR                     enserver                   sapstart
brarchive                  ensmon                     sapwebdisp
brbackup                   icmadmin.SAR               lgtst
brconnect                  icmbnd                     msclients
brrecover                  icmon                      msg_server
brrestore                  startj2eedb                msmon
brspace                    msprot                     startdb
brtools                    jcmon                      niping
cleanipc                   jcontrol                   sapccmsr
sapcpe                     stopdb                     startsap
dev_webdisp                jenqulib.jar               stopj2eedb
dsrlib.so                  jlaunch                    stopsap
enqt                       jperflib.jar               saposcol
enrepserver                jstartup.jar               sappfpar