how to see file data using sh code example Example 1: display contents of file ubuntu less fileName or cat fileName Example 2: print contents of file bash less filename