Pregunta de entrevista de Google

Please provide the command to identify the node location in linux sysytem ?

Respuesta de la entrevista

Anónimo

18 abr 2018

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).