[sed] 특정 라인(줄) 삭제 라인번호를 알고 있다면, sed -i 100d foobar 100 번째 줄 라인 삭제 ---- perl -p -i -e 's/^(DNS|GATEWAY).*$//mg' ifcfg-eth0