Subject: | |
From: | |
Reply To: | |
Date: | Tue, 6 Mar 2001 15:31:58 -0000 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Sorry about that, have removed some spaces to try and remove the
wrap-around.
I have a command file that executes the following command:
xeq /bin/ls "-ltr /SYSTEMS/LastLogon"
and gives the following output:
total 0
-rw-rw-rw- 1 DSHAW.PIN2000 SYSTEMS 0 Aug 24 2000 _DSHAW_PIN2000
-rw-rw-rw- 1 PLTEMP.WIN2000 SYSTEMS 0 Aug 30 2000 _PLTEMP_WIN2000
-rw-rw-rw- 1 SUE.WIN2000 SYSTEMS 0 Aug 31 2000 _SUE_WIN2000
-rw-rw-rw- 1 DOM.ECOMM SYSTEMS 0 Aug 31 2000 _DOM_ECOMM
-rw-rw-rw- 1 SPURS.PIN2000 SYSTEMS 0 Sep 4 2000 _SPURS_PIN2000
-rw-rw-rw- 1 LISA.ECOMM SYSTEMS 0 Sep 14 15:28 _LISA_ECOMM
-rw-rw-rw- 1 ROUND.PIN2000 SYSTEMS 0 Sep 18 18:22 _ROUND_PIN2000
-rw-rw-rw- 1 MNGR.AD2000 SYSTEMS 0 Sep 20 15:38 JEFF_MNGR_AD2000
-rw-rw-rw- 1 CSGW.PIN2000 SYSTEMS 0 Sep 22 10:05 _CSGW_PIN2000
-rw-rw-rw- 1 0 SYSTEMS 0 Sep 27 10:19 _ANNA_WIN2000
-rw-rw-rw- 1 ANDREA.WIN2000 SYSTEMS 0 Sep 28 19:04 _ANDREA_WIN2000
-rw-rw-rw- 1 0 SYSTEMS 0 Sep 29 16:38 _LEEB_WIN2000
-rw-rw-rw- 1 0 SYSTEMS 0 Oct 2 10:04 _KELLY_PIN2000
-rw-rw-rw- 1 PAULH.WINTEST SYSTEMS 0 Oct 2 19:39 _PAULH_WINTEST
-rw-rw-rw- 1 SNAPPR.PIN2000 SYSTEMS 0 Oct 3 18:32 _SNAPPR_PIN2000
-rw-rw-rw- 1 JANE.PIN2000 SYSTEMS 0 Oct 5 10:06 _JANE_PIN2000
-rw-rw-rw- 1 0 SYSTEMS 0 Oct 6 10:14 _ASHLEY_WIN2000
-rw-rw-rw- 1 MITZI.WIN2000 SYSTEMS 0 Oct 9 15:23 _MITZI_WIN2000
-rw-rw-rw- 1 STORES.WINTEST SYSTEMS 0 Oct 10 12:45
AUTO_STORES_WINTEST
<big snip>
Question 1:
Why has column 3 got a 0 instead of a user.account name in some of the
entries?
Question 2:
How do I stop the first 5 columns from displaying (I only need the date,
time and filename)? Do I need to use awk on the output from ls?
regards,
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|Robert W.Mills (Systems Development Manager) |
|Windsong Services, St. Mary Cray, ENGLAND |
|Tel : +44 (0)1689 870622 x3005 |
|Fax : +44 (0)1689 899026 |
|Email: [log in to unmask] |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|
|
|