概要†MySQLで使えるシステムコマンドのTipsです。 一覧†hostname†mysql> system hostname b1c8a78553a7 ログに保存†mysql> tee test.log Logging to file 'test.log' mysql> show databases; +--------------------+ | Database | +--------------------+ | information_schema | | mysql | | performance_schema | | test | +--------------------+ 4 rows in set (0.00 sec) mysql> notee; Outfile disabled. mysql> quit Bye root@b1c8a78553a7:/# cat test.log mysql> show databases; +--------------------+ | Database | +--------------------+ | information_schema | | mysql | | performance_schema | | test | +--------------------+ 4 rows in set (0.00 sec) mysql> notee; 見やすくするためにpagerをセットする†セット†> pager less -S とか > pager more pagerを解除する†> nopager |