Ubuntu终端在哪里?

我试图添加终端作为外部工具来编译与node.js的 JavaScript。 我正在关注这篇基于Windows的 文章 ,我一直在搞清楚终端应用程序的位置。

终端位于Ubuntu的哪个位置?

查看该post中使用的设置:

  • 命令: cmd.exe
  • 工作目录: C:\WINDOWS\system32
  • 参数: /C "cd ${container_loc} && node ${resource_name}"

类比将是:

  • /bin/bash
  • (这是可选的)
  • -c "cd ${container_loc} && node ${resource_name}"

我认为以下内容会更简单:

  • /usr/bin/node (或安装node任何位置)
  • "${container_loc}"
  • "${resource_name}"

如果使用apt-get安装node ,则可能是/usr/bin/nodejsnodejs而不是/usr/bin/node/node

 /usr/bin/xterm 

 /usr/bin/gnome-terminal 

我通过在文件系统中搜索“term”来找到这个位置。 双击它,它工作。