shell script 紀錄10行資料 - Linux

By Bethany
at 2011-11-29T10:53
at 2011-11-29T10:53
Table of Contents
Q:
把目前的日期時間(時分秒)寫入第一行,其他資料往下移一行
,全部資料只能保存10行,超過10行資料一律刪除。
時分秒的已經寫好了,但是不知道怎麼寫超過10行把最先記錄的資料刪除。
有人可以提供網站或是解答嗎?
感謝...
--
把目前的日期時間(時分秒)寫入第一行,其他資料往下移一行
,全部資料只能保存10行,超過10行資料一律刪除。
時分秒的已經寫好了,但是不知道怎麼寫超過10行把最先記錄的資料刪除。
有人可以提供網站或是解答嗎?
感謝...
--
Tags:
Linux
All Comments

By Carol
at 2011-11-30T20:13
at 2011-11-30T20:13

By Mia
at 2011-12-01T20:06
at 2011-12-01T20:06

By George
at 2011-12-03T13:13
at 2011-12-03T13:13

By Caroline
at 2011-12-04T11:34
at 2011-12-04T11:34

By Aaliyah
at 2011-12-07T01:47
at 2011-12-07T01:47

By George
at 2011-12-11T12:28
at 2011-12-11T12:28
Related Posts
請教高手Red Hat Enterprise Linux安裝

By Irma
at 2011-11-29T10:14
at 2011-11-29T10:14
linux mint 12安裝 連不上網!!

By Olive
at 2011-11-28T23:09
at 2011-11-28T23:09
linux和windows的溫度

By Yedda
at 2011-11-28T22:16
at 2011-11-28T22:16
linux mint 12 安裝錯誤

By Zora
at 2011-11-28T20:24
at 2011-11-28T20:24
關於ln的一點小問題

By Eartha
at 2011-11-28T19:32
at 2011-11-28T19:32