<br><br><div><span class="gmail_quote">On 8/27/07, <b class="gmail_sendername">Nathan Stien</b> <<a href="mailto:nathanism@gmail.com">nathanism@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 8/27/07, Chris Freeman <<a href="mailto:cwfreeman@gmail.com">cwfreeman@gmail.com</a>> wrote:<br>> Because I've got accounts on so many systems. It's not the most obvious<br>> name, but it's what I was using on the machine I was typing on, so it got
<br>> into the example.<br><br>I suggest $HOSTNAME, so it can be the same on every box.</blockquote><div><br>This is a very good point. In looking into the $HOSTNAME variables on systems I frequent, some of them use very long names or no $HOSTNAME (this on one particular AIX box). In that case, I could use `hostname` or `uname -h`.
<br><br>But it's mostly an academic issue. I do very little admin work, so the context (at work, at home, putty, X, etc) is almost always enough. When it isn't, I put in a tag like "HOME", "LAPTOP", or "TEST" which I then ignore while typing "rm -rf /". :-)
<br></div></div><br>Chris<br>