https://diolinux.com.br/2018/08/curso-avancado-de-shell-script.html
Não é magia, é Shell Script! Truques da linha de comando Linux