I'm not good at writing shell scripts, but I did try once. Below is an installation script I wrote during this past semester for a custom bash command.

#!/bin/bash CMDPATH="/usr/bin/peptalk" BOLDYLW='\e[1;33m' BOLDGRN='\e[1;32m' BOLDRED='\e[1;31m' BOLDWHI='\e[1;37m' RESETCLR='\e[0m' if [ -f $CMDPATH ]; then rm $CMDPATH fi touch $CMDPATH echo "echo -e '\n${BOLDWHI}Stop being a ${BOLDRED}little bitch${BOLDWHI} and ${BOLDGRN}DO IT.${RESETCLR}\n'" >> $CMDPATH chmod +x $CMDPATH</code>

Instead of working on a pset, I decided to take a quick tutorial on how to write really simple shell scripts. The ironic purpose: to motivate me to do my psets, write my essays, etc. Whenever I'm feeling especially lethargic, I type the command

peptalk

into my terminal and get a pseudo-aggressive "command" back. I really only chuckle after reading the message. I do get back to work eventually.

It's very easy to tell what the output of the command is just by looking over the installation script, but for those who actually want to try it out (and have Ubuntu or similar), the proper way to install it is on GitHub The output has colors!

In two days, I'm off to Japan for a two-and-a-half month long summer internship. It's a first in my travels. I've yet to visit Asia. It's been two years since last leaving the country, so I'm pretty eager for the places I'll be going, the work I'll be doing, and the people I'll be meeting. It's going to be a great summer.