Linux: Difference between revisions

From Federal Burro of Information
Jump to navigationJump to search
Line 13: Line 13:
== Lsmods , only the loaded ones ==
== Lsmods , only the loaded ones ==


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


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

Revision as of 17:05, 11 March 2013

Password Policy

Password policy

media:password_policy.vsd

Desktop

Linux does desktops?

Lsmods , only the loaded ones

/sbin/lsmod | awk '$3 > 0 {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}