Learn Tiny Core. View Tiny Core Screen Shots and Videos.
Is there a simple way to substitute the first line in a text file? (Googled echo, cat, tail and sed but got only confused).
tc@box:~$ seq 1 3 | sed '1s#^.*$#first#'first23
I got the same result but I wanted to substitute the first line, not add a new one.