how to read file from terminal code example Example 1: open a file in from terminal cat <path/your_file> Example 2: terminal read file cat <path/your_file>