jlk
08/04/2022, 1:26 AM$ fleetctl
/home/parallels/.nvm/versions/node/v16.16.0/lib/node_modules/fleetctl/install/v4.18.0/fleetctl: 1: Syntax error: "(" unexpected
zwass
jlk
08/04/2022, 1:38 AMzwass
cat
that path is it a JS file?cat $(which fleetctl)
#!/usr/bin/env node
const child = require("child_process");
jlk
08/04/2022, 1:41 AMparallels@ubuntu-linux-20-04-desktop:~$ file !$
file /home/parallels/.nvm/versions/node/v16.16.0/lib/node_modules/fleetctl/install/v4.18.0/fleetctl
/home/parallels/.nvm/versions/node/v16.16.0/lib/node_modules/fleetctl/install/v4.18.0/fleetctl: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, Go BuildID=p9aF4mSDPD7dn5oID5Sw/bnwrzY9xVNJrsCLqY0HR/XgxMWr5TOcYnYWJ52wMp/41kSRVs3rA1tnEVsMs2k, not stripped
parallels@ubuntu-linux-20-04-desktop:~$ which fleetctl
/home/parallels/.nvm/versions/node/v16.16.0/bin/fleetctl
parallels@ubuntu-linux-20-04-desktop:~$ file `!!`
file `which fleetctl`
/home/parallels/.nvm/versions/node/v16.16.0/bin/fleetctl: symbolic link to ../lib/node_modules/fleetctl/run.js
zwass
jlk
08/04/2022, 1:50 AMzwass