$HOSTNAME is not exported

From: Sergey Spiridonov (sena_at_hurd.homeunix.org)
Date: 12/16/03

  • Next message: eurohans_at_gmx.de: "Newsletter - Aktivierungslink"
    To: debian-user@lists.debian.org
    Date: Tue, 16 Dec 2003 12:02:40 +0100
    
    

    Hi,

    I found out, that $HOSTNAME is not exported by default in latest unstable:

    ss@mars:~$ echo $HOSTNAME
    mars
    ss@mars:~$ env | grep HOSTNAME
    ss@mars:~$

    Is it a bug?

    -- 
    Best regards, Sergey Spiridonov
    -- 
    To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: eurohans_at_gmx.de: "Newsletter - Aktivierungslink"

    Relevant Pages

    • RSH using the Korn Shell.
      ... I have currently switched a user from the C-Shell to Korn Shell and when I ... But if I carry out the following command "rsh <hostname> echo ... doing the "rsh env". ...
      (comp.unix.shell)
    • RSH using the Korn Shell.
      ... I have currently switched a user from the C-Shell to Korn Shell and when I ... But if I carry out the following command "rsh <hostname> echo ... doing the "rsh env". ...
      (comp.unix.shell)
    • RSH using the Korn Shell.
      ... I have currently switched a user from the C-Shell to Korn Shell and when I ... But if I carry out the following command "rsh <hostname> echo ... doing the "rsh env". ...
      (comp.unix.solaris)
    • Re: getenv() fails
      ... > I have a problem getting the hostname from the HOSTNAME var... ... No, it's not a bug. ... 'environment variable' of your shell but just a plain shell variable. ... By running 'env' you can see what variables are exported to the child ...
      (freebsd-questions)
    • Re: $HOSTNAME is not exported
      ... > ss@mars:~$ env | grep HOSTNAME ... It might be a change in behavior, but I woudn't call it a bug. ... and neither of them have it (zsh has a similar $HOST, ...
      (Debian-User)