grep username /etc/passwd
これで抽出できる。
cat /etc/passwd/ | grep username
と同じ。
後者の手順でやることが多かっただが、入力数が減るため、前者のほうがよさそう。
Go to list of users who liked
Share on X(Twitter)
Share on Facebook
More than 5 years have passed since last update.
grep username /etc/passwd
これで抽出できる。
cat /etc/passwd/ | grep username
と同じ。
後者の手順でやることが多かっただが、入力数が減るため、前者のほうがよさそう。
Register as a new user and use Qiita more conveniently
Go to list of users who liked