From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Mohamed K. Ahmed" Newsgroups: gmane.os.tru64.managers Subject: viewing files Date: Mon, 01 Dec 2003 09:31:26 -0500 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <516816dc.16dc5168@vsc.teksystems.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1070289162 1121 80.91.224.253 (1 Dec 2003 14:32:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 1 Dec 2003 14:32:42 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Mon Dec 01 15:32:40 2003 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 1AQp6N-0004YY-00 for ; Mon, 01 Dec 2003 15:32:40 +0100 Original-Received: (qmail 2358 invoked by uid 5); 1 Dec 2003 14:32:30 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 2342 invoked by uid 49493); 1 Dec 2003 14:32:30 -0000 Original-Received: from mkahmed@vsc.teksystems.com by sws1 by uid 49491 with qmail-scanner-1.16 (iscan: v3.1/v5.600-1011/622/49252. clamscan: 20030605. spamassassin: 2.55. Clear:SA:0(-0.9/5.0):. Processed in 0.684541 secs); 01 Dec 2003 14:32:30 -0000 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (160.91.86.17) by 0 with SMTP; 1 Dec 2003 14:32:29 -0000 Original-Received: from emroute2.cind.ornl.gov (LOCALHOST [127.0.0.1]) by emroute2.cind.ornl.gov (PMDF V6.2-X17 #30669) with ESMTP id <0HP800H0C0E29M@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 01 Dec 2003 09:32:28 -0500 (EST) Original-Received: from mail.vsc.teksystems.com (mail.vsc.teksystems.com [63.73.230.193]) by emroute2.cind.ornl.gov (PMDF V6.2-X17 #30669) with ESMTP id <0HP800ACP0DNAW@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 01 Dec 2003 09:32:12 -0500 (EST) Original-Received: from vsc.teksystems.com ([127.0.0.1]) by mail.vsc.teksystems.com (Netscape Messaging Server 4.1) with ESMTP id HP80CE00.E0F for ; Mon, 01 Dec 2003 09:31:26 -0500 Original-To: tru64-unix-managers@ornl.gov X-Mailer: Netscape Webmail Content-language: en Content-Disposition: inline X-Accept-Language: en Xref: main.gmane.org gmane.os.tru64.managers:5938 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:5938 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