Trucs:Comment colorer les chaînes recherchées avec grep
		
		
		
		Aller à la navigation
		Aller à la recherche
		
Jean-Thomas MUYL (maston28)<jean-thomas.muyl@lea-linux.org>
Pour y voir plus clair quand vous faites un grep, essayez ceci :
 grep --color=always CHAINE /votre/fichier
La chaîne recherchée sera alors en rouge :)
Si vous souhaitez ce comportement de grep par défaut, éditez le fichier ~/.bashrc et ajoutez y la lignealias grep='grep --color=always'