Thursday, January 7, 2016

Oracle Linux: Getting alias to run within bash scripts

Were you aware that aliases do not get expanded when the shell is not interactive?  Learn how to get the alias command to run in bash via My Oracle Support note "Oracle Linux 5 & 6 - Why does "alias" not work with bash scripts?" from article ID 2092019.1 so this is in your toolbox just in case you run into this situation while scripting automated solutions!

No comments:

Post a Comment