how to open a file with terminal linux code example Example: linux command to open a file sudo apt install vim vim filename