반응형

sed : stream editor


sed 's/snow/rain/'


s: substitution

snow : 찾을 문자

rain : 바꿀문자


sed 's/snow/rain/g'

g : global

이럴 경우에는 모든 snow 문자를 rain으로 바꾼다

728x90
반응형

'Development > Linux' 카테고리의 다른 글

우분투 리눅스 설치 삽질기!  (3) 2017.04.17
Command Line 명령어  (0) 2016.01.14
[Unix]tar 명령어  (0) 2012.11.12
[Unix]vi 편집기  (0) 2012.04.20
[Unix]기본명령어  (0) 2012.04.17

+ Recent posts