1. linux batch file
begin with: #!/bin/bash (must be the first line)
example(with use of alias):
execute command: sh nano (nano is the name of batch file)
2. URL in linux command
URL that contains special character like "&" can't be input directly. You should add "\" in front of it. (see example above) Also, you can add a pair of quota on it, like '&'.
It is said that in javascript and other script file, one should use %26 instead of &, and someone else think that one should use +"escape("&")+ instead of &. (I haven't check them)
3. screen shot in Mac
Full screen shot: command+shift+3
custom area shot: command+shift+4