open a file using terminal code example
Example 1: how to open a file using terminal
gedit <path/your_file>
Example 2: how to open a file using terminal
open ~/Desktop/filename.txt
Example 3: open a file in from terminal
cat <path/your_file>
gedit <path/your_file>
open ~/Desktop/filename.txt
cat <path/your_file>