Whoami (Unix)
comandă găsită pe diverse sisteme de operare From Wikipedia, the free encyclopedia
Remove ads
Comanda UNIX whoami (de la expresia engleză who am I?, cine sunt eu?) tipărește / afișează numele utilizatorului curent. Spre deosebire de variabila de environment numită $USER care conține numele utilizatorului folosit pentru login, whoami tipărește numele utilizatorului efectiv. Astfel, dacă utilizatorul john folosește comanda su pentru a deveni root, whoami tipărește root.
Comanda a fost implementată de Richard Mlynarik și face parte din pachetul GNU coreutils.
Remove ads
Vezi și
Legături externe
- en Pagina de manual
- en Documentația whoami din GNUCoreutils
| 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 | |
Remove ads
Wikiwand - on
Seamless Wikipedia browsing. On steroids.
Remove ads