command

Homebrewでインストールされるrenameコマンド

こんな感じで使う。 brew install rename rename 's/^foo/bar/' *.txt rename // plasmasturm.org

CentOSのversion確認

ssh hostA [root@hostA ~]# cat /etc/redhat-release CentOS release 6.5 (Final) ssh hostB [root@hostB ~]# cat /etc/redhat-release CentOS Linux release 7.5.1804 (Core)

ファイル、ディレクトリの所有権変更

chown -hR foo:foo /hoge/fuga # -h シンボリックリンクのみ所有権変更 # -R 再帰的に変更 Ref Linuxコマンド【 chown 】ファイルの所有者やグループを変更 - Linux入門 - Webkaru