sh
$ curl -w "speed_down:%{speed_download}\n" -v --limit-rate 1000 http://hoge.hoge/
$ which ls ls -alt $ \ls
シェルで1行で繰り返し処理をするならreadが便利。 以下はphpの構文チェックを一括で行う例 $ find . -name "*.php" | while read file; do php -l $file; done; No syntax errors detected in ./a.php No syntax errors detected in ./b.php No syntax err…
trを使うのが早くて便利 $ txt="a b c a c d e" $ echo $txt | tr ' ' '\n' | sort -n | uniq | tr '\n' ' ' a b c d e