User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
informatique:linux:commandes_linux [2020/04/29 11:16]
pteu [netcat]
informatique:linux:commandes_linux [2020/05/07 14:39] (current)
pteu [sed] supprimer une ligne
Line 2222: Line 2222:
 <code bash> <code bash>
 sed '/​toto/,/​titi/​d'​ sed '/​toto/,/​titi/​d'​
 +  * Supprimer la 5eme ligne du fichier toto.txt
 +<code bash>
 +sed -i '​5d'​ toto.txt
 </​code>​ </​code>​
informatique/linux/commandes_linux.txt · Last modified: 2020/05/07 14:39 by pteu