Re: Exporter un fichier vers une console
Le Fri, 23 Aug 2002 10:14:19 +0200
xpoinsard@openpricer.com écrivait :
> nicolas wrote:
> > Le jeu, 22 aoû 2002 15:44:20 Josselin Mouette a écrit :
> >
> > »Extrait de mon fichier /etc/syslog.conf :
> >
> > »# Dump everything on tty8
> > »*.* /dev/tty8
> >
> > OK et comment on récupère ça dans un gnome-terminal ?
>
> Dans /etc/syslog.conf, tu diriges les messages qui t'intéressent vers
> un fichier :
> *.*
> /var/log/monlogamoi.log
>
> Dans ton gnome-terminal : tail -f /var/log/monlogamoi.log
Ou tout simplement s'ajouter dans le groupe adm et faire
$ tail -f /var/log/message
PK
--
Patrice KARATCHENTZEFF
STMicroelectronics Tel: 04-76-92-63-81
850, rue Jean Monnet
38926 CROLLES Cedex, France Courriel: patrice.karatchentzeff@st.com
Reply to: