Things to know: Bash

Error handling with command substitution To accomplish error handling with command substitution you must not use the local key word. this works this does not

Read More »

How to iterate over lines in a variable in Bash?

For some reason the methods above echo out a empty line. the method below does’nt IFS Variable and Its Default Values The special shell variable IFS determines how Bash recognizes word boundaries while splitting a sequence of character strings. The default value of IFS is a three-character string comprising a space, tab, and newline: Here we[…]

Read More »

Port 587 blocked on gitpod.io

Gitpod was not allowing me to send emails through the my app. https://www.gitpod.io/contact discord server https://discord.com/channels/816244985187008514/839379835662368768 found another way to test out emails through a docker container using mailpit https://mailpit.axllent.org/ docker-compose file https://github.com/bigbeartechworld/big-bear-video-assets/blob/main/how-to-install-mailpit-on-dockge/docker-compose.yml used his script to send test email through bash https://github.com/bigbeartechworld/big-bear-scripts/blob/master/test-smtp-connection/run.sh I out the bash script at the[…]

Read More »