1、根據關鍵字查詢問題所在行

grep  key -n  filename

 

2、vi編輯,顯示行號

vi filename

:set nu

arrow
arrow
    全站熱搜

    戮克 發表在 痞客邦 留言(0) 人氣()