linux command to open a file 1

linux command to open a file

sudo apt install vim
vim filename

Here is what the above code is Doing:
1. We’re using the subprocess module to run the command line command apt-get install vim.
2. We’re using the subprocess module to run the command line command vim filename.

Similar Posts