Pipe any output from the shell to your smartphone with the Pushbullet API. If you want to use it for yourself you just need to
set the $config['access_token']
.
You can get the token here.
Demo:
Installation for global usage
- Copy notify.php to
/usr/local/bin/
and rename it maybenotify
- (If you haven't done this yet) - Add
/usr/local/bin/
to your $PATH
TL;DR
sudo mkdir -p /usr/local/bin/
cp notify.php /usr/local/bin/notify
chmod u+x /usr/local/bin/notify
#if not done yet:
echo "PATH=\$PATH:/usr/local/bin" >> ~/.bashrc && source ~/.bashrc