Hello. I have a file, with some HTML in it. I would like to make a shell/bash script that moves ALL of the content of that file into ANOTHER HTML file at a CERTAIN line number... Does anyone have any suggestions? If not possible at a certain line, then at the END of the file. Thanks a lot in advance ~ Nikhil
For at the end of line, you can use tail command like this; tail -n > file where n is the line from the last as tail -10 means last 10 lines and the above command will save the output at file.