open video files from terminal ubuntu code example Example: open video from terminal in ubuntu 18 prashad@ubuntu:~/test$ xdg-open MyVideo.avi