how to open a file using terminal in linux code example Example: how to open file in linux xdg-open <filename>