比對文件內字串並保留在其所在行 - Linux
By Emily
at 2015-07-05T16:37
at 2015-07-05T16:37
Table of Contents
大家好 昨天參加RHCE 7考試
裡面有個題目是查詢檔案文件內的某個字串
只找到以後輸出再另一個檔案
重點要保留在其原本的行數上
有人知道要怎麼做嗎?
--
--
Tags:
Linux
All Comments
By Jack
at 2015-07-08T03:51
at 2015-07-08T03:51
By Kelly
at 2015-07-12T06:46
at 2015-07-12T06:46
By Olivia
at 2015-07-12T17:24
at 2015-07-12T17:24
By Agnes
at 2015-07-15T05:38
at 2015-07-15T05:38
By Joe
at 2015-07-17T09:27
at 2015-07-17T09:27
By Erin
at 2015-07-20T09:28
at 2015-07-20T09:28
By Edith
at 2015-07-21T09:39
at 2015-07-21T09:39
By Belly
at 2015-07-25T02:07
at 2015-07-25T02:07
By Delia
at 2015-07-26T10:10
at 2015-07-26T10:10
By Ida
at 2015-07-26T12:29
at 2015-07-26T12:29
By Mary
at 2015-07-30T08:24
at 2015-07-30T08:24
By Rae
at 2015-08-03T10:42
at 2015-08-03T10:42
By Ophelia
at 2015-08-06T21:36
at 2015-08-06T21:36
By Franklin
at 2015-08-08T17:49
at 2015-08-08T17:49
Related Posts
mysql 使用 shell script問題
By William
at 2015-07-05T12:41
at 2015-07-05T12:41
Rpi如何偵測行動電源的電量?
By Selena
at 2015-07-02T20:40
at 2015-07-02T20:40
tty中文顯示問題
By Brianna
at 2015-07-02T20:30
at 2015-07-02T20:30
我們成立了一個後端伺服的line群
By Jacky
at 2015-07-01T23:32
at 2015-07-01T23:32
F@H command line 進度
By Emma
at 2015-07-01T23:05
at 2015-07-01T23:05