open file with command line ubuntu code example
Example 1: ubuntu open file from terminal
xdg-open file-name
# xdg-open myPicture.png
Example 2: ubuntu open file system from terminal
nautilus .
#or
nautilus /home/john/Downloads
xdg-open file-name
# xdg-open myPicture.png
nautilus .
#or
nautilus /home/john/Downloads