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: Wed May 30 13:15:52 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 Updwtmp 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 updwtmp en anglaisMan  en français Man updwtmp en français
Man  en anglais Man unzipsfx en anglaisMan  en français Man unzipsfx en français
Man  en anglais Man unlinkat en anglaisMan  en français Man unlinkat en français
Man  en anglais Man unlink en anglaisMan  en français Man unlink en français
Man  en anglais Man uniq en anglaisMan  en français Man uniq en français
Man  en anglais Man unicode en anglaisMan  en français Man unicode en français
Man  en anglais Man unexpand en anglaisMan  en français Man unexpand en français
Man  en anglais Man uncompress en anglaisMan  en français Man uncompress en français
Man  en anglais Man ul en anglaisMan  en français Man ul en français
Man  en anglais Man ugetrlimit en anglaisMan  en français Man ugetrlimit en français
Man  en anglais Man ualarm en anglaisMan  en français Man ualarm en français
Man  en anglais Man tzset en anglaisMan  en français Man tzset en français
Man  en anglais Man tzselect en anglaisMan  en français Man tzselect en français
Man  en anglais Man tzfile en anglaisMan  en français Man tzfile en français
Man  en anglais Man tuxcall en anglaisMan  en français Man tuxcall 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