Linux: Difference between revisions

From Federal Burro of Information
Jump to navigationJump to search
No edit summary
Line 1: Line 1:
== Password Policy ==
== Password Policy ==


Password policy
Password policy
Line 9: Line 8:


== Desktop ==
== Desktop ==
== Lsmods , only the loaded ones ==
/sbin/lsmod | awk '$3 > 1 {print $0}'


=== Set a random image for a directory ===
=== Set a random image for a directory ===

Revision as of 17:02, 11 March 2013

Password Policy

Password policy

media:password_policy.vsd

Desktop

Lsmods , only the loaded ones

/sbin/lsmod | awk '$3 > 1 {print $0}'

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}