From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078701111628.tru64-unix-managers.marc@archive.invalid> From: Mathias Koerber Date: Tue, 24 Mar 1998 06:20:28 +0000 To: tru64-unix-managers Subject: syslog.dated X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078701111628 Hi Managers, I would like to write some cronjobs that write data to a file in the *current* syslog.dated subdirectory. Is there any way I can determine easily which one is the current one? (I know, ls -t /var/adm/syslog.dated | head -1 should do the trick, but I'd like to avoid running that all the time) I was hoping that syslogd kept a symlink to the current directory somewhere, but I canot find anything. Does anyone have any hints...? This is for DU3.2 and DU4.0 Mathias Koerber | Tel: +65 / 471 9820 | mathias@staff.singnet.com.sg SingNet NOC | Fax: +65 / 475 3273 | mathias@koerber.org Q'town Tel. Exch. | PGP: Keyid: 768/25E082BD, finger mathias@singnet.com.sg 2 Stirling Rd | 1A 8B FC D4 93 F1 9A FC BD 98 A3 1A 0E 73 01 65 S'pore 148943 | Disclaimer: I speak only for myself * Eifersucht ist eine Leidenschaft, die mit Eifer sucht, was Leiden schafft *