Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ logname(1) — DG/UX 4.00

Media Vault

Software Library

Restoration Projects

Artifacts Sought



                                                               logname(1)



        _________________________________________________________________
        logname                                                   Command
        get login name
        _________________________________________________________________


        SYNTAX

        logname


        DESCRIPTION

        Logname returns the contents of the environment variable
        $LOGNAME, the name under which you logged in. It is set when you
        log into the system, but can be reset. It is simply an
        environment variable; it does not affect the system's knowledge
        of you through your effective user id.



        _________________________________________________________________
        EXAMPLES

        $ logname
        billcat

        Returns the name of the user as known by the system at login
        time.  If $LOGNAME (the shell variable) is not defined logname
        will still function.
        $ logname  > lognm
        $ cat lognm
        billcat

        Puts the user name in the new file lognm and displays the
        contents of lognm.
        _________________________________________________________________


        FILES

        /etc/profile.


        SEE ALSO

        env(1), login(1).
        logname(3X), environ(5) in the Programmer's Reference for the
        DG/UX System





        DG/UX 4.00                                                 Page 1
               Licensed material--property of copyright holder(s)



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026