How to open Google Chrome or Safari from Terminal When I try to open 'chrome' or 'safari' in terminal,

$ safari
-bash: safari: command not found
$ open safari
The file Desktop/safari does not exist.
$ chrome
-bash: chrome: command not found


How to open them in right methods.
All you need to do in Terminal, no matter what directory you're in, is use
open -a Safari
open -a Google\ Chrome

and optionally, add the URL afterwards if you want to open the Browser to the given URL
open -a Safari http://apple.com/