I have a file named Element_query containing the result of a query :SQL> select count (*) from element;[Output of the query which I want to keep in my file]SQL> spool off;I want to delete 1st line and last line using shell command.
How do I delete the first n lines and last line of a file using shell commands?
shell;sed;awk;grep;pipe