====Ajouter une première ligne==== sed -i -e '1iHere is my new top line\' filename [[https://askubuntu.com/questions/151674/how-do-i-insert-a-line-at-the-top-of-a-text-file-using-the-command-line|How do I insert a line at the top of a text file using the command line?]] {{ :cmd:sed:apt_-_how_do_i_insert_a_line_at_the_top_of_a_text_file_using_the_command_line_-_ask_ubuntu_2020-04-27_11_34_17_am_.html |Archive du 16/06/2012 le 27/04/2020}}