• EnglishSpanishGermanFrenchPolishChinese (Traditional)


EnglishSpanishGermanFrenchPolishChinese (Traditional)

Operating systems, scripting, PowerShell and security

Operating systems, software development, scripting, PowerShell tips, network and security

Menú principal
  • Categorías
  • Cursos
  • Libro de PowerShell
  • Lo mejor
  • Lo último
  • Proyectos
  • Contactar
Ir al contenido

Ejercicios de Bash: ver el funcionamiento de AWK

Shell
1
2
3
echo "hola amigo" | awk '{print $1}'
echo "hola amigo" | awk '{print $2}'
echo "touch amigo" | awk '{print $1}'; echo "touch amigo" | awk '{print $2}'

Publicado el día 3 de diciembre de 2020

CATEGORÍAS

PowerShell

ETIQUETAS

awk, Bash, Echo, Ejercicios de Bash, Jesús Niño, Jesús Niño Camazón

MÁS

  • Ejercicios de seguridad: simular el funcionamiento de una VPN desde PowerShell
  • Combinar un cmdlet de PowerShell con un comando en Bash mediante WSL desde PowerShell
  • Ejercicios de Bash: analizar logs en Linux mediante Awk
  • Crear un proceso hijo mediante la función fork de Linux (en Bash y en PowerShell mediante WSL)
  • Detectar si una palabra está contenida en una línea de un fichero
  • Combinar un cmdlet de PowerShell con un comando en Bash mediante WSL desde Ubuntu