I tried my luck with grep and sed but somehow I don't manage to get it right.I have a log file which is about 8 GB in size. I need to analyze a 15 minute time period of suspicious activity. I located the part of the log file that I need to look at and I am trying to extract those lines and save it into a separate file. How would I do that on a regular CentOS machine?My last try was this but it didn't work. I am a complete newbie when it comes to sed and those type of commands.sed -n '2762818,2853648w /var/log/output.txt' /var/log/logfile
extract from line to line and then save to separate file
command line;sed;grep
sed -n '2762818,2853648p' /var/log/logfile > /var/log/output.txtp is for print