LoginSignup
2
3

More than 5 years have passed since last update.

シェルでファイルの先頭行のみを削除するには

Last updated at Posted at 2016-02-10

実現したいこと

データファイルのクレンジング作業のため、データファイルの先頭行のみを削除したい

実現方法および解決方法

sed コマンドを利用する

実行コマンド

sed -e '1d' masahide.txt 

情報源

man sed

補足

2
3
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
2
3