Category: Shell
Shell scripts
VI : how to delete lines with- Comment supprimer des lignes avec vi
Jey August 23, 2011 1 Comment on VI : how to delete lines with- Comment supprimer des lignes avec vi
Go to command mode with <ESC> and type : Allez dans le mode commande avec <ECH> et taper : dd to delete one line. pour…
Using awk to cut the last characters of a string
In the example the string is “10987654321” and you want the 5 last characters of a string so “54321”: Dans l’exemple la chaîne est “10987654321”…
Using vi to replace strings on multiple files – Utilisation de vi pour remplacer des caractères dans plusieurs fichiers
Jey April 27, 2011 Leave a Comment on Using vi to replace strings on multiple files – Utilisation de vi pour remplacer des caractères dans plusieurs fichiers
Here is an example on how massively replace a string with another. Voici un exemple concret de comment remplacer massivement une chaine de caractères par…
ping a VLAN quick script – script rapide pour pinger un VLAN
This is a quick little shell script to find desktop (or servers) who answer to ping requests on a VLAN. Voici un petit script pour…
Follow Me!