
{"id":5279,"date":"2011-06-24T20:58:59","date_gmt":"2011-06-24T20:58:59","guid":{"rendered":"http:\/\/www.beautifulwork.org\/?p=5279"},"modified":"2011-06-24T20:58:59","modified_gmt":"2011-06-24T20:58:59","slug":"logname-print-users-login-name","status":"publish","type":"post","link":"https:\/\/www.trueangle.org\/index.php\/2011\/06\/24\/logname-print-users-login-name\/","title":{"rendered":"logname &#8211; print user\u00b4s login name"},"content":{"rendered":"<h4><u> A UNIX Command <\/u><\/h4>\n<pre>\n$logname\njeffrin\n$logname --help\nUsage: logname [OPTION]\nPrint the name of the current user.\n\n      --help     display this help and exit\n      --version  output version information and exit\n\nReport logname bugs to bug-coreutils@gnu.org\nGNU coreutils home page: \nGeneral help using GNU software: \nFor complete documentation, run: info coreutils 'logname invocation'\n$logname --version\nlogname (GNU coreutils) 8.5\nCopyright (C) 2010 Free Software Foundation, Inc.\nLicense GPLv3+: GNU GPL version 3 or later .\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law.\n\nWritten by FIXME: unknown.\n$\n\n<\/pre>\n<p><\/p>\n<h4><u> UNIX Explanation <\/u><\/h4>\n<h5><u> Solaris Based Explanation <\/u><\/h5>\n<pre>\nThe logname  utility will write the user's  login name to\nstandard output.  The login name is the string that would\nbe  returned  by the  getlogin(3C)  function.  Under  the\nconditions  where  getlogin()  would fail,  logname  will\nwrite  a diagnostic  message to  standard error  and exit\nwith a non-zero exit status.\n\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>A UNIX Command $logname jeffrin $logname &#8211;help Usage: logname [OPTION] Print the name of the current user. &#8211;help display this help and exit &#8211;version output version information and exit Report logname bugs to bug-coreutils@gnu.org GNU coreutils home page: General help using GNU software: For complete documentation, run: info coreutils &#8216;logname invocation&#8217; $logname &#8211;version logname (GNU &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.trueangle.org\/index.php\/2011\/06\/24\/logname-print-users-login-name\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;logname &#8211; print user\u00b4s login name&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[1012,1072,1632],"_links":{"self":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/5279"}],"collection":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/comments?post=5279"}],"version-history":[{"count":0,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/5279\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/media?parent=5279"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/categories?post=5279"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/tags?post=5279"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}