adds offline function to .bashrc.linux