Tag Archives: BHW

How the alias is working?

By Vikram_Tanwar12

Iam facing some strange issue with alias. I have an alias file in which i have created lot of aliases as given below.

Code:

export BUILD_HOME=/apps/psr/build
export DB_HOME=/apps/psr/database
export LOGS_HOME=/apps/psr/logs
export BUILD_TEST=/apps/psr/build_dev/build_test
export BUILD_DEV=/apps/psr/build_dev
export BUILD_STORE=/apps/psr/store
export APP_STORE=/apps/psr/store/application
export VALIDATION_HOME=/apps/psr/validation

alias STORE="cd $APP_STORE"
alias BH="cd $BUILD_HOME"
alias BHB="cd $BUILD_HOME/bin"
alias BHW="cd $BUILD_HOME/wrappers"
alias BT="cd $BUILD_TEST"
alias BTB="cd $BUILD_TEST/bin"
alias BD="cd $BUILD_DEV"
alias VH="cd $VALIDATION_HOME"


The problem is that when i type STORE it will do its job correctly but when i type store it is not. However the same alias i have defined on other serverB where it is working in both the cases.

Also the strange thing is that when i type other alias on serverB it is not working as case insensitive. Its only working for store. I tried to google and find that we can set somthing like that

Code:

set completion-ignore-case on


but not sure if this is the correct way. Can someone please help me in this.

…read more

Source: FULL ARTICLE at The UNIX and Linux Forums