[R-sig-hpc] hostname on laptop
simon.urbanek at r-project.org
Tue Sep 3 02:05:52 CEST 2013
On Sep 1, 2013, at 9:41 AM, Michael Weylandt <michael.weylandt at gmail.com> wrote:
> That's going to be shell/user dependent. You'd probably prefer to look at 'uname' for the info you want.
To be precise
is what POSIX defines to be somewhat related to the question (BTW: this has nothing to do with the user or shell), but I'd guess that uname is rarely used for that purpose - the most commonly used tool for that purpose is probably
Speaking of shells - some systems/shells define the $HOSTNAME variable, but I would not rely on it since it doesn't change when switching networks.
> On Sep 1, 2013, at 0:36, "Hodgess, Erin" <HodgessE at uhd.edu> wrote:
>> Please ignore the previous message.
>> It's just the name after the @ sign on the terminal.
>> Sorry for the trouble.
>> [[alternative HTML version deleted]]
>> R-sig-hpc mailing list
>> R-sig-hpc at r-project.org
> R-sig-hpc mailing list
> R-sig-hpc at r-project.org
More information about the R-sig-hpc