> From: [email protected] [mailto:discuss- > [email protected]] On Behalf Of Patrick Cable > > Linux and Solaris have *very* different ideas about what the killall command > does, as I found out when I was an intern... :)
LOL, I did that too! Ever since then, I assume absolutely everything between solaris, OSX, and linux all behave differently, and I use the man page for everything. Also the shutdown command... And which runlevel means what... And the total randomness between "ps -e" "ps -a" and "ps -A" Regardless of the man page, you always just have to pick one at random until you see what you want... Also, different bash behavior ... Man page says FILES are /etc/profile and a few others, but /etc/profile is ignored completely unless there exists ~/.bash_profile, and of course the ~/.bashrc file is ignored based on whether or not it's a login shell ... From one OS to another it's utterly impossible to guess what the behavior is going to be ... Also, you stick some setting into ALL of these mentioned files... Now try executing remotely "ssh somemachine 'somecommand'" and that thing isn't set... And you have no PATH. Because when run remotely, or in cron, or in atd, the environment is different *yet again* and bash behavior is different yet again... Ahhh, combinations and permutations... _______________________________________________ Discuss mailing list [email protected] https://lists.lopsa.org/cgi-bin/mailman/listinfo/discuss This list provided by the League of Professional System Administrators http://lopsa.org/
