how to open a file with file browser with terminal command code example Example: how to open a file using terminal open ~/Desktop/filename.txt