Linux And Unix Command To View File

Originally published at: https://www.cyberciti.biz/faq/unix-linux-command-to-view-file/

I am a new Linux bash shell command line user. How can I view a text file using command line on a Linux or Unix-like operating systems? How can I view (open) binary files such as PDF or images on a Linux or Unix like system from command line? Also, How do I list the files in a directory stored on my Unix box?


Linux sysadmin blog - Linux/Unix Howtos and Tutorials - Linux bash shell scripting wiki