In perl:
my $uptime=`uptime`;
jason pearl wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
whats the code that makes it list the uptime?
M. Lewis wrote:
>Create ~/.signature
>
>Perms could be 544.
>
>The line beginning with '--' just signals the beginning of the signature
>file as you see below.
>
>If you want to get fancy, you could have a long list of signatures, then
>have a shell or a perl script rotate them every so often. Like mine.
>
>HTH.
>Mike
>
>
>jason pearl wrote:
>
>Charles Howse wrote:
>
>
>>>>how do i create an email script? i forgot and have looked online. thanks
>
>
>
>>>>What email client?
>
>
>
>
>
>i am using thunderbird. it has a place to browse for sig files. i know i
>have to make a file then chmod a+x i think.. correct? but i think there
>is special things that need to be in it like a -- or something
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Fedora -
http://enigmail.mozdev.org
iD8DBQFDwdCEkUj07ZO7bJMRAjEGAKCVCMnUF9gupDS8RFQSYl58p4WryQCfXxZ+
Nv26YzexAI5W2+83fmJRPcE=
=L4qF
-----END PGP SIGNATURE-----
--
I just found the last bug.
01:05:01 up 20:36, 5 users, load average: 0.42, 1.06, 1.01
Linux Registered User #241685
http://counter.li.org