Linux: Difference between revisions

From Federal Burro of Information
Jump to navigationJump to search
(Created page with "== Password Policy == Password policy image:password_policy.png media:password_policy.vsd")
 
No edit summary
Line 7: Line 7:


[[media:password_policy.vsd]]
[[media:password_policy.vsd]]
== Desktop ==
=== Set a random image for a directory ==
#!/bin/sh
set -- /data/pictures/misc/*
length=$#
random_num=$(( $RANDOM % ($length + 1) ))
echo fbsetbg ${!random_num}
fbsetbg ${!random_num}

Revision as of 00:55, 8 March 2013

Password Policy

Password policy

media:password_policy.vsd

Desktop

= Set a random image for a directory

#!/bin/sh

set -- /data/pictures/misc/*
length=$#
random_num=$(( $RANDOM % ($length + 1) ))
echo fbsetbg ${!random_num}
fbsetbg ${!random_num}