tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* [Summary] Shell variable for /var/adm/syslog.dated/this_one?
@ 1999-03-17  5:29 Jim Smart
  0 siblings, 0 replies; only message in thread
From: Jim Smart @ 1999-03-17  5:29 UTC (permalink / raw)
  To: tru64-unix-managers

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1999-03-17  5:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-03-17  5:29 [Summary] Shell variable for /var/adm/syslog.dated/this_one? Jim Smart

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox