Shell Scripting en Linux
Shell Scripting en Linux
• Mi primer script:
Shebang: indica la ruta al intérprete de comandos
(Shell)
Comentarios: Explicación de
lo que hace el script y modo
de usarlo
• Ejecución del script:
Guión de comandos (Script)
No hace falta cambiar
permisos.
Hace falta cambiar permisos.
Shell Scripting en Linux
• Variables:
Shell Scripting en Linux
• Variables:
Shell Scripting en Linux
• Comillas:
Shell Scripting en Linux
• Comodines:
Shell Scripting en Linux
• Comodines:
Shell Scripting en Linux
• Comandos echo y read:
Para imprimir número con decimales
Shell Scripting en Linux
• Comandos echo y read:
Shell Scripting en Linux
• Operaciones aritméticas:
¿Qué modificación haríamos para imprimir
los números con decimales?
Shell Scripting en Linux
• Redirección de entrada y salida:
Shell Scripting en Linux
• Tuberías:
Shell Scripting en Linux
• Estado de salida de un comando:
Shell Scripting en Linux
• Expresiones booleanas:
Shell Scripting en Linux
• Estructuras de control de flujo:
Shell Scripting en Linux
• Estructuras de control de flujo:
Shell Scripting en Linux
• Estructuras de control de flujo:
Shell Scripting en Linux
• Estructuras de control de flujo:
Shell Scripting en Linux
• Estructuras de control de flujo:
Shell Scripting en Linux
• Estructuras de control de flujo:
Shell Scripting en Linux
Shell Scripting en Linux
Shell Scripting en Linux