how to open vs code on ubuntu serve code example
Example 1: install vscode ubuntu command line
sudo snap install --classic code
Example 2: how to open ubuntu file in visual studio
$ code
$ code my-file
sudo snap install --classic code
$ code
$ code my-file