2017-02-13から1日間の記事一覧
ruby や python からすぐ出来るんですが、bashでやると面倒ですね ruby File.size( 'path/to/file' ) python import os os.path.getsize('path/to/file') bash どうやるの? ls -l だと余計なものが多いし。。。まさか、cut してgrep する〜?awkする? いく…
curl の基本設定ファイルを作ることが出来る ~/.curlrc Default config file, see -K, --config for details. .curlrc に書く書き方は -K で指定する config ファイルと同じ curl の毎回指定するのめんどくさいオプションを書いておくと楽 とくに、CookieやU…