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.
Written by Lex S
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Tools
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#