Latest web development tutorials

La commande Linux

Linux commande Daquan Linux commande Daquan

commande whoami Linux affiche propre nom de l'utilisateur.

Afficher le nom d'utilisateur propre, cette instruction est équivalente à la mise en œuvre de l'instruction "id -UN".

grammaire

whoami [--help][--version]

Description Paramètre:

  • --help aide en ligne.
  • --version informations sur la version d'affichage.

Exemples

Afficher le nom de l'utilisateur

# whoami 
root

Linux commande Daquan Linux commande Daquan