Changes between Version 1 and Version 2 of linux


Ignore:
Timestamp:
2016/05/31 12:50:36 (8 years ago)
Author:
yuna
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • linux

    v1 v2  
    1111aaa,bbb,ccc,ddd 
    1212}}} 
     13 
     14== 特定文字列が含まれる行を置換 
     15 
     16 
     17{{{ 
     18# cat httpd.conf 
     19... 
     20ServerName localhost:80 
     21... 
     22 
     23# sed '/^ServerName /c ServerName 192.168.1.1:80' 
     24... 
     25ServerName 192.168.1.1:80 
     26... 
     27}}}