visual studio command line linux code example
Example 1: code command line options
code -r <path-to-working-directory>
Example 2: how to open ubuntu file in visual studio
$ code
$ code my-file
code -r <path-to-working-directory>
$ code
$ code my-file