who

WHO(1L)                                                                WHO(1L)



åå
       who - ç¾å¨ãã°ã¤ã³ãã¦ããã¦ã¼ã¶ã表示ãã

æ¸å¼
       who [-imqsuwHT] [--count] [--idle] [--heading] [--help] [--message]
       [--mesg] [--version] [--writable] [file] [am i]

説æ
         ãã®ããã¥ã¢ã«ã§ã¯ GNUç who ã«ã¤ãã¦è§£èª¬ããã ãªãã·ã§ã³ã»å¼æ°ãä¸ããã« who
       ãèµ·åããå ´åã who ã¯ç¾å¨ãã°ã¤ã³ãã¦ããåã¦ã¼ã¶ã«ã¤ãã¦æ¬¡ã®æå ±ã表示ããã:

              ãã°ã¤ã³å
              端æ«å
              ãã°ã¤ã³ããæé
              ãªã¢ã¼ããã¹ãå ããã㯠X-Windowã®ãã£ã¹ãã¬ã¤å

        ãªãã·ã§ã³ãªãã§å¼æ°ãä¸ã¤ä¸ããå ´åã who ã¯ã¦ã¼ã¶ã®ã‐
       ã°ã¤ã³æå ±ãè¨é²ãããã¡ã¤ã«ã¨ãã¦ã
       /etc/utmpã®ãããã«ãå¼æ°ã§ä¸ããããååã®ãã¡ã¤ã«ãåç§ããã 以åã«ã‐
       ã°ã¤ã³ãã¦ããã¦ã¼ã¶ã«ã¤ãã¦ç¥ãããå ´åã¯ã é常/etc/wtmpã who
       ã®å¼æ°ã¨ãã¦ä¸ããã

        ãªãã·ã§ã³ãªãã§å¼æ°ãäºã¤ä¸ããå ´åã who ã¯ããã¹ãåã表示ããå¾ã who
       ãèµ·åããã¦ã¼ã¶(æ¨æºå¥åãã決å®ããã¾ã)ã«ã¤ãã¦ã®æå ±ã®ã¿ã表示ããã
       ãã®äºã¤ã®å¼æ°ã«ã¯ãæ£ç¿çã«ã'am i'ã使ããã ã¤ã¾ãã`who am
       i'ã¨å¥åããã®ãä¸è¬çã§ããã

ãªãã·ã§ã³
       -m     `who am i'ã¨å¥åããã®ã¨åãã§ããã

       -q, --count
              ãã°ã¤ã³ãã¦ããã¦ã¼ã¶ã®äººæ°ã¨ãã®ãã°ã¤ã³åã®ã¿ã表示ããã
              ãã®ãªãã·ã§ã³ã¯ãä»ã®ãã¹ã¦ã®ãªãã·ã§ã³ãããåªåãããã (訳註
              -m以å¤ã®ãªãã·ã§ã³ããåªåãããã¨ãããã¨ã®ããã§ã)

       -s     ç¡è¦ãããã ä»ã®ãã¼ã¸ã§ã³ã® who ã¨ã®äºææ§ã®ããã«è¨å®ããã¦ããã

       -i, -u, --idle
              ãã°ã¤ã³ããæéã®ãã¨ã«ã ã¦ã¼ã¶ãæå¾ã«ç«¯æ«æä½ãè¡ãªã£ã¦ããã®æé(idle-
              time)ã表示ãããã
              `.'ã表示ããã¦ããå ´åãããã¯ã¦ã¼ã¶ãä¸å以åã«ç«¯æ«æä½ã
              è¡ãªã£ããã¨ã示ãã ã¾ãã`old'ã表示ãããå ´åãããã¯ã¦ã¼ã¶ã24æé以ä¸
              ä½ã®ç«¯æ«æä½ãè¡ãªã£ã¦ããªããã¨ã示ãã

       -H, --heading
              表示ã®åé ã«é ç®åãè¨è¿°ããè¡ãæ¿å¥ããã

       -w, -T, --mesg, --message, --writable
              ãã°ã¤ã³åã®å¾ã«ããã®ã¦ã¼ã¶ã®ç«¯æ«ã«å¯¾ããæ¸ãè¾¼ã¿ãå¯è½ãã©ããã
              表ãæåãä»ãå ããã:


              +      writeã«ããã¡ãã»ã¼ã¸ã®æ¸ãè¾¼ã¿ã許å¯ããã¦ãããã¨ã示ãã

              -      writeã«ããã¡ãã»ã¼ã¸ã®æ¸ãè¾¼ã¿ã許å¯ããã¦ããªããã¨ã示ãã

              ?      端æ«ã®ããã¤ã¹ãã¡ã¤ã«ãçºè¦ã§ããªãã£ããã¨ã示ãã

       --help ã³ãã³ãã®ä½¿ãæ¹ã«ã¤ãã¦ã®ã¡ãã»ã¼ã¸ãæ¨æºåºåã« åºåãã¦ã³ãã³ããçµäºããã

       --version
              ãã¼ã¸ã§ã³æå ±ãæ¨æºåºåã«åºåãã¦ã³ãã³ããçµäºããã

翻訳è
       å·çè²´è£ <kawabata@ne.scphys.kyoto-u.ac.jp>



FSF                           GNU Shell Utilities                      WHO(1L)