Google Interview Question: Please provide the command to... | Glassdoor.co.uk

Interview Question

Technical Program Manager, Site Reliability Engineering Interview London, England

Please provide the command to identify the node location in

  linux sysytem ?
Answer

Interview Answer

1 Answer

0

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.