11
Help us understand the problem. What are the problem?

More than 5 years have passed since last update.

posted at

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

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 に書きました。

Register as a new user and use Qiita more conveniently

  1. You can follow users and tags
  2. you can stock useful information
  3. You can make editorial suggestions for articles
What you can do with signing up
11
Help us understand the problem. What are the problem?