請問tcpdump跟awk這個指令 - Linux

By Doris
at 2009-12-29T01:27
at 2009-12-29T01:27
Table of Contents
※ 引述《who4 (哥哥最愛獅子丸了)》之銘言:
: 上網查了一下,BEGIN是做初始化的動作
: 但是後面的substr(), length($8), srand(), FNR,實在是超出我能理解的範圍
substr 從給定字串中取出它的一部分
length 字串長度
srand 亂數
FNR 不曉得,應該是 awk 的分隔字元之類的東西
*EDIT: man awk 裡面有:
FNR: The ordinal number of the current record in the current file.
--
: 上網查了一下,BEGIN是做初始化的動作
: 但是後面的substr(), length($8), srand(), FNR,實在是超出我能理解的範圍
substr 從給定字串中取出它的一部分
length 字串長度
srand 亂數
FNR 不曉得,應該是 awk 的分隔字元之類的東西
*EDIT: man awk 裡面有:
FNR: The ordinal number of the current record in the current file.
--
Tags:
Linux
All Comments

By Frederic
at 2009-12-31T00:36
at 2009-12-31T00:36
Related Posts
openoffice指定字型

By Mia
at 2009-12-28T21:04
at 2009-12-28T21:04
Debian5 (testing)的一點小問題

By Queena
at 2009-12-28T16:25
at 2009-12-28T16:25
ubuntu 9.10血淚又一則…

By Gilbert
at 2009-12-28T16:05
at 2009-12-28T16:05
chrome錯誤

By Candice
at 2009-12-28T15:45
at 2009-12-28T15:45
讓ubuntu完全像xp

By Ida
at 2009-12-28T15:31
at 2009-12-28T15:31