LoginSignup
11
11

More than 5 years have passed since last update.

installコマンドでコマンド数を減らす

Posted at
mkdir -p /home/foo/.ssh
chown foo /home/foo/.ssh
chmod 0700 /home/foo/.ssh

のようにコマンドを並べる代わりに
install -o foo -m 0700 -d /home/foo/.ssh
だけで済むという話です。

もうちょっと詳しい話は http://blog.n-z.jp/blog/2014-02-14-install.html に書きました。

11
11
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
11
11