install vscode from command line code example
Example 1: how to open ubuntu file in visual studio
$ code
$ code my-file
Example 2: vscode install commandline
sudo apt-get install apt-transport-https
sudo apt-get update
sudo apt-get install code # or code-insiders