From: Jim Smart <jim () tsw ! com ! au>
To: tru64-unix-managers
Subject: [Summary] Shell variable for /var/adm/syslog.dated/this_one?
Date: Wed, 17 Mar 1999 05:29:18 +0000 [thread overview]
Message-ID: <96079038515722.tru64-unix-managers.marc@archive.invalid> (raw)
Thanks to all who replied,
The best and simplest (imho) was
ls -rtd /var/adm/syslog.dated/* | tail -1
thanks to Degerness, Mandell ITSD:EX
[Mandell.Degerness@gems2.gov.bc.ca]
Regards,
Jim Smart
Original Question:
Hi,
What is the quickest way for a shell script to find the current directory
that syslog messages are being written to ?
eg:
"/var/adm/syslog.dated/16-Mar-21:51"
or
/var/adm/syslog.dated/16-Mar-21\:51
reply other threads:[~1999-03-17 5:29 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox