Google Interview Question: Please provide the command to... |

Interview Question

Technical Program Manager, Site Reliability Engineering Interview London, England

Please provide the command to identify the node location in

  linux sysytem ?

Interview Answer

1 Answer


Running dpkg-query -L nodejs will list the full path to every file belonging to the nodejs package. If /usr/bin/node is not there (it should be a symlink to /usr/bin/nodejs).

Interview Candidate on 18 Apr 2018

Add Answers or Comments

To comment on this, Sign In or Sign Up.