Ubuntu sorts files differently than OSX

Ubuntu 14.04 default locale sorts files differently then OSX.
The db scripts are order dependent on the order of the scripts executing.
It a terminal, type locale to see the currently set locales, the LC_ALL may be blank
Set LC_ALL=C so that ubuntu sorts the same as OSX
This can be set in .profile, .bashrc, and /etc/environment

Comments

Popular posts from this blog

Oracle JDBC ReadTimeout QueryTimeout

Locks held on Oracle for hours after sessions abnormally terminated by node failure