Oracle Linux 5 & 6 - Why does "alias" not work with bash scripts? (Doc ID 2092019.1)

Last updated on JANUARY 07, 2016

Applies to:

Linux OS - Version Oracle Linux 5.0 and later
Linux x86
Linux x86-64


 On Oracle Linux 5 & 6 set alias for any command and the alias command will work fine on the interactive shell, whereas aliasing doesn't work inside the script.



Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms