LoginSignup
0
0

More than 1 year has passed since last update.

awkで指定した行以降を出力する(文字列指定)

Posted at

(ファイル名)
test.txt

(ファイルの中身)

google

amazon

facebook 

apple 

microsoft

(やりたいこと)
"facebook "の行以降を出力したい。

(コマンド)

awk '/facebook/',0 test.txt

(結果)
facebook

apple

microsoft

0
0
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
0
0