Différences
Ci-dessous, les différences entre deux révisions de la page.
| |
cmd:sed [2017/08/29 00:56] – Création avec "Ajouter une première ligne" root | cmd:sed [2020/04/27 11:35] (Version actuelle) – maff -> html root |
---|
sed -i -e '1iHere is my new top line\' filename | 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|Source]] {{ :cmd:sed:apt_-_how_do_i_insert_a_line_at_the_top_of_a_text_file_using_the_command_line_-_ask_ubuntu.htm.maff |Archive}} | [[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}} |