-
-
Save elcascarudo-dev/824d029acf50a97885db8f08e747bed9 to your computer and use it in GitHub Desktop.
Comandos Linux ( sed )
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Busca y reemplaza textos en un fichero, el parametro "-i" hace persistente el reemplazo | |
sed -i 's/texto-a-buscar/texto-a-reemplazar/g' "Fichero o directorio" | |
# el "%" lo utilizamos cuando buscamos URL | |
sed -i 's%texto-a-buscar%texto-a-reemplazar%g' "Fichero o directorio" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment