Friday, May 3, 2024
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 37411  / 3 Years ago, wed, september 29, 2021, 9:08:21

I am trying to add terminal as external tool to compile javascript with node.js.
I am following this article which is based on windows , and i am stuck at figuring out location of terminal application.



Where is the terminal located in Ubuntu?


More From » command-line

 Answers
6

Looking at the settings used in that post:




  • command: cmd.exe

  • working directory: C:WINDOWSsystem32

  • arguments: /C "cd ${container_loc} && node ${resource_name}"



The analogue would be:




  • /bin/bash

  • (this is optional)

  • -c "cd ${container_loc} && node ${resource_name}"



I think the following would be simpler:




  • /usr/bin/node (or wherever your node is installed)

  • "${container_loc}"

  • "${resource_name}"



If you installed node using apt-get, then it is likely to be /usr/bin/nodejs and nodejs instead of /usr/bin/node and /node.


[#21438] Thursday, September 30, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
serveeel

Total Points: 347
Total Questions: 106
Total Answers: 117

Location: American Samoa
Member since Fri, Aug 26, 2022
2 Years ago
serveeel questions
;