mac open file in command propmt code example Example: open a file in from terminal cat <path/your_file>