visual studio code for ubuntu using terminal code example
Example 1: install vscode ubuntu command line
sudo snap install --classic code
Example 2: open visual studio code from terminal ubuntu
code /path/filename
sudo snap install --classic code
code /path/filename