跳到主文
部落格全站分類:職場甘苦
tail最大的用處就是來看log檔,有一些不錯的參數可資利用:
列出文字檔案尾端內容◎ tail 檔名 列出「檔名」最後十行:tail access_log◎ tail -n 檔名 列出「檔名」最後 n 行:tail -n5 access_log◎ tail +n 檔名 從 n 行開始列出「檔名」到最後:tail +n1500 access_log
狂戀Linux
bunkera 發表在 痞客邦 留言(0) 人氣()