Création d'un script sh pour traiter le fichier hosts
This commit is contained in:
4
hosts
4
hosts
@@ -1,2 +1,2 @@
|
|||||||
0.0.0.0 ifeelmyself.com
|
0.0.0.0 ifeelmyself.com
|
||||||
0.0.0.0 www.inoporn.net
|
0.0.0.0 www.inoporn.net
|
||||||
|
|||||||
7
process.sh
Normal file
7
process.sh
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
#On remet les elements du fichier par ordre alphabetique
|
||||||
|
sort hosts > tmp
|
||||||
|
|
||||||
|
#Remplacement du fichier hosts original
|
||||||
|
mv tmp hosts
|
||||||
Reference in New Issue
Block a user