Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] question about shell scripting
- Date: Thu, 25 Jan 2007 09:49:52 +0100
- From: Botond Botyanszki <tlug@example.com>
- Subject: Re: [tlug] question about shell scripting
- References: <43640.210.168.237.209.1169712799.squirrel@example.com>
On Thu, 25 Jan 2007 17:13:19 +0900 (JST) scott@example.com wrote: > #!/bin/bash > for x in `awk -F: '{ print $1 }' /etc/shadow`; > /usr/bin/crontab -l -u $x; > done > > but that crashes as well. You forgot the do keyword , otherwise this works for me (tm). # for x in `awk -F: '{ print $1 }' /etc/shadow`; do crontab -l -u $x; done no crontab for root no crontab for daemon no crontab for bin no crontab for sys no crontab for sync no crontab for gamesAttachment: signature.asc
Description: PGP signature
- References:
- [tlug] question about shell scripting
- From: scott
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] question about shell scripting
- Next by Date: Re: [tlug] question about shell scripting
- Previous by thread: Re: [tlug] question about shell scripting
- Next by thread: Re: [tlug] question about shell scripting
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links