sed - Linux 2024年10月10日 Guestbook Remove first 5000 lines from a big file1sed -i 1,5000d /var/log/pacemaker/pacemake.log Replace , with new line1sed -i 's/,/\n/g' filename Contents Remove first 5000 lines from a big fileReplace , with new line