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 |
||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
== Password Policy == | == Password Policy == | ||
Password policy | Password policy | ||
[[image:password_policy.png]] | [[image:password_policy.png|400px]] | ||
[[media:password_policy.vsd]] | [[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} | |||
== back up super block == | |||
mke2fs -n /dev/sdc1 | |||
== Also See == | |||
* [[Linux Server Build Checklist]] |
Latest revision as of 16:26, 30 March 2019
Password Policy
Password policy
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}
back up super block
mke2fs -n /dev/sdc1