LoginSignup
116
84

More than 5 years have passed since last update.

ファイルの指定した行のみ表示する

Posted at

10行目を表示する

sed -n 10p file

10-20行目を表示する

sed -n 10,20p file
116
84
0

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
116
84