I would like to move a path in a file to the top of the file. Each path is listed 1 per line. How do I move /someplace/2nd/
to the top using only the command line?
/someplace/1st/
/someplace/2nd/
/someplace/3rd/
So I end up with
/someplace/2st/
/someplace/1nd/
/someplace/3rd/