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 7:40:13 2012 from 38.107.179.227
[root@bash-linux ~] # echo "Bienvenue sur Bash-Linux.com"_
 Manuel des commandes UNIX (man) Version anglaise

Indiquez la fonction :

Man Savelog en anglais

SAVELOG(8) SAVELOG(8)
 
NAME


savelog - save a log file
 
SYNOPSIS


savelog [-m mode] [-u user] [-g group] [-t] [-p] [-c cycle] [-l] [-j] [-C] [-d] [-l] [-r rolldir] [-n] [-q] [-D dateformat] file ...
 
DESCRIPTION


The savelog command saves and optionally compresses old copies of files. Older versions of file are named: file. where is the version number, 0 being the newest. Version num- bers > 0 are compressed unless -l prevents it. Version number 0 is not compressed because a process might still have file opened for I/O. Only cycle versions of the file are kept. If the file does not exist and -t was given, it will be created. For files that do exist and have lengths greater than zero, the follow- ing actions are performed: 1) Version numbered files are cycled. Version cycle-2 is moved to version cycle-3, version cycle-1 is moved to version cycle-2 , and so on. Finally version 0 is moved to version 1, and version cycle is deleted. Both compressed names and uncompressed names are cycled, regardless of -l. Missing version files are ignored. 2) The new file.1 is compressed unless the -l flag was given. It is changed subject to the -m, -u, and -g flags. 3) The main file is moved to file.0. 4) If the -m, -u, -g, -t, or -p flags are given, then an empty file is created subject to the given flags. With the -p flag, the file is created with the same owner, group, and permissions as before. 5) The new file.0 is changed subject to the -m, -u, and -g flags. Since the version numbers start with 0, version number cycle is never formed. The cycle count must be at least 2.
 
OPTIONS


-m mode chmod the log files to mode, implies -t -u user chown log files to user, implies -t -g group chgrp log files to group, implies -t -c cycle Save cycle versions of the logfile (default: 7) -t touch new logfile into existence -l don't compress any log files (default: do compress) -p preserve owner, group, and permissions of logfile -j compress with bzip2 instead of gzip -C force cleanup of cycled logfiles -d use standard date for rolling -D dateformat override date format, in the form of [MMDDhhmm[[CC]YY][.ss]] -r use rolldir instead of . to roll files -n do not rotate empty files -q be quiet
 
BUGS


If a process is still writing to file.0, and savelog moves it to file.1 and compresses it, data could be lost. Debian 21 October 2007 SAVELOG(8)


 Dernières recherches
Man  en anglais Man savelog en anglaisMan  en français Man savelog en français
Man  en anglais Man safe_mysqld en anglaisMan  en français Man safe_mysqld en français
Man  en anglais Man s_time en anglaisMan  en français Man s_time en français
Man  en anglais Man s_server en anglaisMan  en français Man s_server en français
Man  en anglais Man s_client en anglaisMan  en français Man s_client en français
Man  en anglais Man rtnetlink en anglaisMan  en français Man rtnetlink en français
Man  en anglais Man rtc en anglaisMan  en français Man rtc en français
Man  en anglais Man rt_sigtimedwait en anglaisMan  en français Man rt_sigtimedwait en français
Man  en anglais Man rt_sigsuspend en anglaisMan  en français Man rt_sigsuspend en français
Man  en anglais Man rt_sigreturn en anglaisMan  en français Man rt_sigreturn en français
Man  en anglais Man rt_sigqueueinfo en anglaisMan  en français Man rt_sigqueueinfo en français
Man  en anglais Man rt_sigprocmask en anglaisMan  en français Man rt_sigprocmask en français
Man  en anglais Man rt_sigpending en anglaisMan  en français Man rt_sigpending en français
Man  en anglais Man rt_sigaction en anglaisMan  en français Man rt_sigaction en français
Man  en anglais Man rsh en anglaisMan  en français Man rsh 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