2016-08-01から1ヶ月間の記事一覧
・DAYS ・Re:ゼロから始める異世界生活 ・アルスラーン戦記(2) ・ガンダムUC(TV) ・クロムクロ ・テイルズ オブ ゼスティリア(2) ・ベルセルク(2016) ・天鏡のアルデラミン ・甘々と稲妻
cat 1.txt | grep -v '^\s*$' > 2.txt
show processlist; kill id;
◆旧 /usr/bin/mysqldump -hdb_host -udb_user -pdb_pass db_name table_name > /tmp/table_name.stdout.sql 2> /tmp/table_name.stderr.txt → エラーが出力される場合もある Warning: Using a password on the command line interface can be insecure. ◆新 …
SELECT ROUND(SUM(data_length)/1024/1024) AS mb FROM information_schema.tables WHERE table_schema = 'aaa' ;
cmd="" cmd=$cmd"cat 1.txt | " cmd=$cmd"sort | " cmd=$cmd"uniq > 2.txt" eval $cmd
cat aaa.txt | while read line do echo $line done
echo 12345 | cut -c-3
file_s="./*" for file_1 in $file_s; do echo $file_1 done
echo "aaa.txt" | sed -e "s/\.txt//g"
echo -n 999