[ale] Bash script help

Geoffrey lists at serioustechnology.com
Wed Mar 12 15:27:21 EDT 2008


Greg Freemyer wrote:
> Now the poor student has to simplify that down to something the
> teacher will believe he wrote.
> 
> May be easier just to do it from the other helpful hints.

I thought that was simpler.  I broke that down from the one liner:

date -d @$(awk -F ':' '/root/ {print ($3 + 1) * 86400 }' /etc/shadow) \ 
+"%B %d %G

-- 
Until later, Geoffrey

Those who would give up essential Liberty, to purchase a little
temporary Safety, deserve neither Liberty nor Safety.
  - Benjamin Franklin


More information about the Ale mailing list