Ayúdanos a dar forma a GoConqr. ¿Qué deberíamos añadir?

Fichas

Ch 2.14 Extended regex

Archimed Nemes KodeKloud - Linux Easy Inglés 12 fichas

Fichas del conjunto (12)

  1. 1Find all lines that have one or more zeros in /etc/ directorygrep -Er '0+' /etc/
    egrep r '0+' /etc/
  2. 2Find all strings that contain at least three zeros in /etc/egrep -r '0{3, } /etc/
  3. 3Find string that match 1 followed by at most three zeros in /etc/egrep r '10{,3}' /etc/
  4. 4Find string that match 1exactly three zeros in /etc/egrep -r '0{3}' /etc/
  5. 5Find lines that have either disable or disabled in /etc/egrep -r 'disabled?' /etc/
  6. 6Find lines that have either 3,4 or 5 zeros in /etc/egrep -r '0{3,5}' /etc/
  7. 7Find lines that have either enabled or disabled in /etc/egrep -r 'enabled|disabled' /etc/
  8. 8Find all lines that containes either cat or cut in /etc/egrep -r 'c[au]t' /etc/
  9. 9Find all devices that contain /dev/ followed by any random character in /etc/egrep -r '/dev/[a-z]*[0-9]?' /etc/
  10. 10Find all devices that contain /dev/ followed by any random character (including /dev/tty0p0) in /etc/ (use subexpression)egrep -r '/dev/([a-z]*[0-9]?)*' /etc/
  11. 11Find all devices that contain /dev/ followed by any random character (including /dev/tty0S0) in /etc/ (use subexpression)egrep -r '/dev/(([a-z]|[A-Z])*[0-9]?)*' /etc/
  12. 12Find http but not https in /etc/egrep -r 'http[^s]' /etc/

Información

Descripción
Easy KodeKloud - Linux Fichas sobre Ch 2.14 Extended regex, creado por Archimed Nemes el 27/05/2022.
Creado por
Archimed Nemes
Visitas
1
Valoración

Más sobre Command Line Basics and Linux Commands

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué deberíamos añadir?