open file in terminal on mac code example Example: open new terminal window mac Press Command+T to open new Tab in terminal.