Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] question about shell scripting



Try this out

for x in `awk -F: '{ print $1 }' /etc/shadow`; do /usr/bin/crontab -l
-u $x; done

Sorry I should probably format that a little better

for x in `awk -F: '{ print $1 }' /etc/shadow`; do
   /usr/bin/crontab -l -u $x;
done

Regards, Keith


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links