open a file in from terminal

C
cat <path/your_file>

Source

Also in C: