how to access a text file unix code example Example: view file linux command line cat filename #for short files less filename #for longer files