Visual Studio Code won't open via command line
<p>I have installed Visual Studio Code on my machine.
It worked pretty well just after the installation.</p>

<p>But since I restarted my computer, it just won't open when I type the command 'code' in my terminal.</p>

<p>When I type the command to open Visual Studio, nothing happens.
But if I type</p>

<pre><code>which code
</code></pre>

<p>it returns me <code>/usr/bin/code</code>, so the program is installed. The editor won't open even if I use sudo.</p>

<p>I am using <strong>Ubuntu 14.04 LTS</strong> and I installed the program using the <code>.deb package offered</code> <a href="https://code.visualstudio.com/?utm_expid=101350005-21.ckupCbvGQMiML5eJsxWmxw.0&amp;utm_referrer=https%3A%2F%2Fwww.google.com.br%2F" rel="nofollow">here</a>
Any suggestions?</p>

<p><strong>edit</strong></p>

<p>I tried to create a symlink to the installation path. But now I got errors:</p>

<pre><code>andre@andre-Lenovo-G40-80:~$ sudo ln -s /usr/share/code/code /usr/local/bin/code
andre@andre-Lenovo-G40-80:~$ which code
    /usr/local/bin/code
andre@andre-Lenovo-G40-80:~$ code
bash: cannot set terminal process group (-1): Inappropriate ioctl for device
bash: no job control in this shell
Error: watch /home/andre/.config/Code/User ENOSPC
at exports._errnoException (util.js:890:11)
at FSWatcher.start (fs.js:1323:19)
at Object.fs.watch (fs.js:1351:11)
at r.e.registerWatchers (/usr/share/code/resources/app/out/vs/code/electron-main/main.js:8:16692)
at r.e (/usr/share/code/resources/app/out/vs/code/electron-main/main.js:8:15951)
at new r (/usr/share/code/resources/app/out/vs/code/electron-main/main.js:8:19184)
at v (/usr/share/code/resources/app/out/vs/code/electron-main/main.js:4:15395)
at t._createInstance (/usr/share/code/resources/app/out/vs/code/electron-main/main.js:7:23640)
at t._createAndCacheServiceInstance (/usr/share/code/resources/app/out/vs/code/electron-main/main.js:7:24615)
</code></pre>