view text file in linux code example
Example 1: how to open file in linux
xdg-open <filename>
Example 2: linux check file contetns
cat "fileName"
Example 3: find text in linux file
grep 'word' filename
grep 'word' file1 file2 file3
grep 'string1 string2' filename
cat otherfile | grep 'something'
command | grep 'something'
command option1 | grep 'data'
grep --color 'data' fileName