Skip to content

Instantly share code, notes, and snippets.

@ironsmile
Created October 16, 2014 17:54
Show Gist options
  • Save ironsmile/ab10384c592fb02d7b31 to your computer and use it in GitHub Desktop.
Save ironsmile/ab10384c592fb02d7b31 to your computer and use it in GitHub Desktop.
Ubuntu nodejs resolution
[~/playfield]
iron4o$ which js
/usr/bin/js
[~/playfield]
iron4o$ ls -lh /usr/bin/js
lrwxrwxrwx 1 root root 20 Feb 6 2012 /usr/bin/js -> /etc/alternatives/js
[~/playfield]
iron4o$ ls -lh /etc/alternatives/js
lrwxrwxrwx 1 root root 13 Feb 6 2012 /etc/alternatives/js -> /usr/bin/node
[~/playfield]
iron4o$ ls -lh /usr/bin/node
lrwxrwxrwx 1 root root 22 Feb 15 2014 /usr/bin/node -> /etc/alternatives/node
[~/playfield]
iron4o$ ls -lh /etc/alternatives/node
lrwxrwxrwx 1 root root 15 Sep 17 10:40 /etc/alternatives/node -> /usr/bin/nodejs
[~/playfield]
iron4o$ ls -lh /usr/bin/nodejs
-rwxr-xr-x 1 root root 8.5M Sep 17 05:52 /usr/bin/nodejs
[~/playfield]
iron4o$ file /usr/bin/nodejs
/usr/bin/nodejs: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.24, BuildID[sha1]=0x863934f7caf3d3bd836b42d30025abdbf9684d51, stripped
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment