[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: libssh-Bruteforcer in IPTABLES Chain bannen



Michelle Konzack schrieb:
Am 2005-04-02 12:39:39, schrieb Gerhard Brauer:

tail --follow=name /var/log/syslog

anstatt tail -f <...>


Wie meinen ?

  __( manpage 'tail' )__________________________________________________
 /
| TAIL(1)                        FSF                        TAIL(1)

|        -f, --follow[={name|descriptor}]
|               output appended data as the file grows; -f,  --fol­
|               low, and --follow=descriptor are equivalent
 \______________________________________________________________________

"-f" und "--follow=" sind equivalent.

Du kannst       tail -f /dev/fd/1
genauso wie     tail --follow=/dev/fd/1
oder            tail -f <file>
und             tail --follow=<file>
verwenden.

Probiere es bitte aus z.B. mit der syslog. Ohne explizites
--follow={name} überlebt dein tail kein logrotate.

Doe man page sagt lediglich das -f, --follow und
--follow=descriptor equivalent sind. --follow={name} ist eine
seperate Option. Und nur mit dieser Option wird nicht mit dem
jeweils letzten Filedescriptor gearbeitet.

Greetings
Michelle

Gruß
	Gerhard




Reply to: