25道shell面试题

1、用sed修改test.txt的23行test为tset;linux    sed–i ‘23s/test/tset/g’ test.txtweb 2、查看/web.log第25行第三列的内容。shell    sed–n ‘25p’ /web.log | cut –d “ ” –f3编程    head–n25 /web.log | tail –n1 | cut –d “ ” –f3vim  
相关文章
相关标签/搜索