Using OSX terminal