Last Updated: March 22, 2023
· Lex S

Write your own bash commands with functions

Here are some functions you can add to your ".bash_profile" that replicate built-in commands.
function echo() { /bin/cat << EOC $@ EOC }

function whoami() { /usr/bin/id -u -n }

function pwd() { echo $PWD }

Writing your own bash functions can be very useful to automate local development tasks.

Mailer To Go is an email provider on Heroku that is by developers for developers.
We've spend too much time dealing with other mailing services, and decided to create our own.