bash echo contents of file code example Example 1: linux check file contetns cat "fileName" Example 2: print contents of file bash less filename