how to read file in ubuntu terminal code example
Example 1: display contents of file ubuntu
less fileName
or
cat fileName
Example 2: open a file in from terminal
cat <path/your_file>
less fileName
or
cat fileName
cat <path/your_file>