Jump to content

Grep - Buscar texto


Recommended Posts

¿Alguna vez no os a hecho falta buscar alguna quest o cualquier cosa que tenga x palabra o x letra?


Bueno con este sencillo comando podréis buscar entre todos los archivos, la palabra/letras que escribáis, os dejo un par de ejemplos.


Buscar "caballo" en la ruta quest

cd /home/game/share/locale/germany/questgrep -r caballo .

Buscar "pony" en todo el servidor

cd /grep -r pony .
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...