open a file on terminal code example
Example 1: how to open a file using terminal and exit terminal
xdg-open <path/file_name>
Example 2: open a file in from terminal
cat <path/your_file>
xdg-open <path/file_name>
cat <path/your_file>