how to open file using terminal in ubuntu code example
Example 1: how to open a file using terminal
open ~/Desktop/filename.txt
Example 2: ubuntu open file system from terminal
nautilus .
#or
nautilus /home/john/Downloads
open ~/Desktop/filename.txt
nautilus .
#or
nautilus /home/john/Downloads