Tag Archives: bash

コマンド置換、バッククォート

コマンドの実行結果に置き換わる。 $ echo ‘test’ > $(date +%Y%m%d-%H%M).txt $ echo ‘test’ > `date +%Y%m%d-%H%M`.txt $() を知らなかった。