First cd, then execute [terminal] command.