Mailing List Archive


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

Re: [tlug] question about shell scripting



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

Try this out

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