how to open file via command prompt mac code example Example: open a file in from terminal cat <path/your_file>