Introduction to Shell Programming

Publicado el: 08 noviembre 2019
en el canal de: Brian
79
6

In this video, we cover the basics of Shell Programming.

We also cover how to create a file and make it executable. How to create a text line output about using the echo command. We also cover how to use special escape sequences for interpreting special characters for enhanced echo functionality (e.g. newline). You can even extract the values from the outputs of commands. Such as $(cat /var/log/syslog | wc -l) which can then be used in an extracted and used as output for an echo command.

Sample Code:
#!/bin/bash

echo -e "One Liner - What time is it?\n"$(date)"\nWho am I\n"$(whoami)

echo -e "\n\n\n\n\n"
echo "What time is it?"
date
echo "Who am I"
whoami


En esta página del sitio puede ver el video en línea Introduction to Shell Programming de Duración hora minuto segunda en buena calidad , que subió el usuario Brian 08 noviembre 2019, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 79 veces y le gustó 6 a los espectadores. Disfruta viendo!