2024年1月30日火曜日

プロセス置換

 bashだけ。

<() コマンドの結果をメモリファイルのように扱う。

cat <(ls -l)


シャットダウン時の後処理 (shutdown)

# vi /etc/systemd/system/drop.service [Unit] Description= stop httpgwd DefaultDependencies=no Before=shutdown.target RefuseManualStart=true ...