Flash storage && performance engineering

iTerm and dir_colors

When using iTerm2, if you duplicate the default profile, the reported terminal type (Preferences->Profiles->Terminal->Report Terminal Type) is set to xterm-256color. Some distributions, like the CentOS 5 server I just logged into, don’t have a condition for the xterm-256color TERM type in the /etc/profile.d/colorls.sh script. As a result, you won’t get color output from ls. Changing my iTerm profile to xterm-color gave me colored ls output on my next login without having to putz around with dircolors. Obviously you could change settings on the target server side too, but why?