linux command to view file

C++
cat command.
less command.
more command.
"gnome-open command" or "xdg-open command" (generic version) or "kde-open command" (kde version) – Linux gnome/kde desktop command to open any file.
open command – OS X specific command to open any file.cat "fileName"
Source

Also in C++: