Bash-Linux.com : Le SHELL pour les nuls

  Actuellement 50 lignes de commande et 1472 man disponibles
login as: root
root@213.186.33.18's password:
Last login: Tue May 29 13:56:06 2012 from 38.107.179.228
[root@bash-linux ~] # echo "Bienvenue sur Bash-Linux.com"_
 Manuel des commandes UNIX (man) Version anglaise

Indiquez la fonction :

Man Logwtmp en anglais

UPDWTMP(3) Linux Programmer's Manual UPDWTMP(3)
 
NAME


updwtmp, logwtmp - append an entry to the wtmp file
 
SYNOPSIS


#include void updwtmp(const char *wtmp_file, const struct utmp *ut); void logwtmp(const char *line, const char *name, const char *host);
 
DESCRIPTION


updwtmp() appends the utmp structure ut to the wtmp file. logwtmp() constructs a utmp structure using line, name, host, current time and current process ID. Then it calls updwtmp() to append the structure to the utmp file.
 
FILES


/var/log/wtmp database of past user logins
 
CONFORMING TO


Not in POSIX.1-2001. Present on Solaris, NetBSD, and perhaps other systems.
 
AVAILABILITY


Both functions are available under glibc2, but not under libc5. How- ever, logwtmp() used to occur in the old libbsd. These days, the logwtmp() function is included in libutil. (Hence you'll need to add -lutil to your compiler command line to get it.)
 
NOTES


For consistency with the other "utmpx" functions (see getutxent(3)), glibc provides (since version 2.1): #include void updwtmpx (const char *wtmpx_file, const struct utmpx *utx); This function performs the same task as updwtmp(), but differs in that it takes a utmpx structure as its last argument.
 
SEE ALSO


getutxent(3), wtmp(5)
 
COLOPHON


This page is part of release 3.05 of the Linux man-pages project. A description of the project, and information about reporting bugs, can be found at http://www.kernel.org/doc/man-pages/. GNU 2008-07-02 UPDWTMP(3)


 Dernières recherches
Man  en anglais Man logwtmp en anglaisMan  en français Man logwtmp en français
Man  en anglais Man logrotate en anglaisMan  en français Man logrotate en français
Man  en anglais Man logout en anglaisMan  en français Man logout en français
Man  en anglais Man logname en anglaisMan  en français Man logname en français
Man  en anglais Man login_tty en anglaisMan  en français Man login_tty en français
Man  en anglais Man lock en anglaisMan  en français Man lock en français
Man  en anglais Man localtime en anglaisMan  en français Man localtime en français
Man  en anglais Man localedef en anglaisMan  en français Man localedef en français
Man  en anglais Man strftime en anglaisMan  en français Man strftime en français
Man  en anglais Man local en anglaisMan  en français Man local en français
Man  en anglais Man loadkeys en anglaisMan  en français Man loadkeys en français
Man  en anglais Man lmtp en anglaisMan  en français Man lmtp en français
Man  en anglais Man llseek en anglaisMan  en français Man llseek en français
Man  en anglais Man lio_listio en anglaisMan  en français Man lio_listio en français
Man  en anglais Man linkat en anglaisMan  en français Man linkat en français

 Recherche

Dans ce moteur de recherche, vous pouvez taper directement votre besoin, en une phrase normale, humaine.
Exemple : vous cherchez comment remplacer un mot par un autre dans tous les fichiers d'un certain dossier. Vous pouvez écrire "Comment remplacer un mot par un autre dans tous les fichiers d'un dossier". Le moteur vous ramenera les résultats en fonction de leur pertinence.
Vous pouvez bien sûr ne chercher qu'un seul mot-clé, par exemple "find".
 Toutes les lignes de code
Par popularité
Par fonction
Recherche avancée
 Les logiciels SHELL/SSH
Putty
Astuces Bash
Faire du SHELL avec PHP!
 La doc officielle
Les man Linux en français
Les man Linux en anglais
 Proposer vos bash
Partagez vos lignes!
 Les requêtes
Déposer une requête
Voir/répondre à une requête
 Quelques sites interessants
Bons sites pour apprendre
 Rechercher