Skip to main content


Showing posts from July, 2015

Bash script: "Hello world!"

Bash script is very nice and important if one is using Unix system. Planning on using bash scripts as much as posible, I would like to share a quick and easy example to start using it: Create a shell call Add the lines to the file: #!/bin/bash echo "Hello world!" Go to the folder contains the file. Type  bash . The echo command will print out  Hello world! your terminal

Remove an account in mail app in OSX

Today, I am trying to logout/remove my google acount from app mail in OS X. It is quite confused from the beginning, but finally, I can do that by go to  Internet Accounts  –> choose the account to be removed –> press the  -  button, then accept. Never know why there is no simple logout button on the interface.