Help for this page

Select Code to Download


  1. or download this
           getlogin
                   This implements the C library function of the same name
    +, which
    ...
                   any.  If null, use "getpwuid".
     
                       $login = getlogin || getpwuid($<) || "Kilroy";
    
  2. or download this
     perl -e 'print getlogin || getpwuid($<)'
    lanx