tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* viewing files
@ 2003-12-01 14:31 Mohamed K. Ahmed
  0 siblings, 0 replies; only message in thread
From: Mohamed K. Ahmed @ 2003-12-01 14:31 UTC (permalink / raw)


Dear Managers,

I have about 50 files that have the same name except for some numbers 
as:  backup_031201.log (the numbers change according to the date).
I want to just look at the last 10 lines of each file. I don't want to 
issue the same command 50 times, I just want to give it one command and 
get what I want.
I know that tail views the last 10 lines of a file, but when I issue 
the command  # tail backup_03*.log  or  # tail backup_03????.log, it 
just gives me that last/new file available

Any help???
The system is ES40, 4 CPU, 4 GB mem, running  Tru64 UNIX V 5.1B

Mohamed



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

only message in thread, other threads:[~2003-12-01 14:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-01 14:31 viewing files Mohamed K. Ahmed

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