January 2010
11 posts
The Difference Between Linux and BSD: yes(1)
One is fun, one is not. That is all.
Linux:
YES(1) User Commands YES(1)
NAME
yes - output a string repeatedly until killed
SYNOPSIS
yes [STRING]...
yes OPTION
DESCRIPTION
Repeatedly output a line with all specified STRING(s), or 'y'.
--help display this help and...
1 tag
Note to self: Find your fragmented tables in MySQL
SELECT TABLE_SCHEMA,TABLE_NAME,Data_free
FROM information_schema.TABLES
WHERE TABLE_SCHEMA NOT IN (‘information_schema’,’mysql’)
AND Data_free > 0 ORDER BY Data_free;
awk ‘{print “OPTIMIZE TABLE ” $1 “.” $2 “;”}’ < queryoutput > MySQLoptimizer
cat MySQLoptimizer | mysql
work convo. how to end a conversation.
(13:10:10) ei: back from lunch
(13:13:24) ua: back from lunch
(13:13:39) oo: BFL
(13:13:47) ua: BLT
(13:15:08) ou: BFF
(13:15:32) ua: <== VIP
(13:15:46) ra: DP
(13:16:04) ua: :/