공부하세요

linux replace

김영국 2008. 9. 4. 15:53

aaa 파일에서 from을 to로 바꾸는 명령입니다

sed 's/from/to/g' aaa > aaa2 && mv aaa2 aaa