To remove 100th line from a file.
sed -e '100d' oracle.log > oracle_new.log
To remove lines between 100-110 from a file.
sed -e '101,111d' oracle.log > oracle_new.log
sed -e '100d' oracle.log > oracle_new.log
To remove lines between 100-110 from a file.
sed -e '101,111d' oracle.log > oracle_new.log
No comments:
Post a Comment