linix

知らなかったコマンド色々

忘れるのでメモ 特定のユーザでコマンドを実行 $ sudo /sbin/runuser -l {ユーザ名} -c "コマンド" 日時を指定してtouch $ touch -t201301090000 01.txt $ touch -t201301080000 02.txt $ touch -t201301070000 03.txt $ touch -t198001010000 04.txt $ ll t…