Differences between version 37 and revision by previous author of BenStaz.
Other diffs: Previous Major Revision, Previous Revision, or view the Annotated Edit History
Newer page: | version 37 | Last edited on Tuesday, August 14, 2007 11:45:34 am | by BenStaz | Revert |
Older page: | version 35 | Last edited on Friday, June 8, 2007 1:01:38 am | by AristotlePagaltzis | Revert |
@@ -8,15 +8,16 @@
Works for [WandGroup]
-!My Guides/Hints:
+!My Guides/Hints (TODO
: Update List)
+* [ShellBuiltinNotes]
+* [JobControl]
* [WgetNotes]
* [RunlevelNotes]
* [SysctlNotes]
* [InstallJDK]
-* [Odt2txt]
* [FakeIdentServer]
* [Aliases]
* [AdduserNotes]
* [HereStrings]
@@ -32,15 +33,4 @@
* [x2x]
* [VMWareNotes]
* [FglrxNotes]
* [BcNotes]
-
-!Random Bash Script I Just Wrote
-<verbatim>
-IFS=$'\n'; lines=($(aptitude search ~g)) count=${#lines[@]}; random_index=$((RANDOM % count)); echo "${lines[random_index]}"
-</verbatim>
-
- More easily:
- <verbatim>
- aptitude search ~g | while read ; do echo "$RANDOM $REPLY" ; done | sort -n | head -1 | cut -d' ' -f2-
- </verbatim>
- —AristotlePagaltzis