Who (Unix)
From Wikipedia, the free encyclopedia
Remove ads
Comanda UNIX who tipărește pe ecran lista utilizatorilor care sunt în prezent conectați (login) la calculator. Comanda este similară cu comanda w, aceasta din urmă tipărind o serie de statistici suplimentare.

Comanda a fost implementată de Joseph Arceneaux, David MacKenzie, și Michael Stone și face parte din pachetul GNU coreutils.
Sintaxă
who [opțiuni] [fișier]
unde argumentul opținonal fișier este fișierul unde sistemul menține lista de utilizatori curenți (/var/run/utmp sau /var/log/wtmp).
Dintre opțiunile cele mai des folosite amintim:
- -a (all) - tipărește toate statisticile
- -b (boot) - timpul când sistemul a fost pornit
- -d (dead) - tipărește toate procesele moarte
- -p (process) - tipărește procesele active
- -u (user) - utilizatori aflați în sistem
Remove ads
Vezi și
- whoami
- w
Legături externe
- en Pagina de manual
- en who Commands & Utilities Reference, The Single UNIX® Specification, Issue 7 from The Open Group
- en Documentația who din GNU Coreutils
Programe în linia de comandă pentru Unix (mai multe) | |||
Gestionare de fișiere: | cat | cd | chmod | chown | chgrp | cksum | cmp | cp | du | df | file | fsck | ln | ls | lsof | mkdir | mount | mv | pwd | rm | rmdir | split | touch | ||
Gestionare de procese: | at | chroot | cron | exit | kill | killall | nice | pgrep | pidof | pkill | ps | pstree | sleep | time | top | wait | ||
Gestionare de utilizator/mediu: | env | finger | id | mesg | passwd | su | sudo | uname | uptime | w | wall | who | whoami | write | ||
Procesare text: | awk | comm | cut | ed | ex | fmt | head | iconv | join | less | more | paste | sed | sort | tac | tail | tr | uniq | wc | xargs | ||
Programare Shell: | basename | echo | expr | false | printf | test | true | unset | Imprimare: lp | |
Communicații: inetd | netstat | ping | rlogin | traceroute |
Căutare: find | grep | strings |
Diverse: banner | bc | cal | dd | man | size | yes |
Wikiwand - on
Seamless Wikipedia browsing. On steroids.
Remove ads