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
Nesta página do site você pode assistir ao vídeo on-line Introduction to Shell Programming duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Brian 08 Novembro 2019, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 79 vezes e gostou 6 espectadores. Boa visualização!