Upgrade node-red on raspberry pi

# Node.js 16 ChangeLog

<!--lint disable maximum-line-length no-literal-urls prohibited-strings-->

<table>
<tr>
<th>LTS 'Gallium'</th>
<th>Current</th>
</tr>
<tr>
<td valign="top">
<a href="#16.18.0">16.18.0</a><br/>
<a href="#16.17.1">16.17.1</a><br/>
<a href="#16.17.0">16.17.0</a><br/>
<a href="#16.16.0">16.16.0</a><br/>
<a href="#16.15.1">16.15.1</a><br/>
<a href="#16.15.0">16.15.0</a><br/>
<a href="#16.14.2">16.14.2</a><br/>
<a href="#16.14.1">16.14.1</a><br/>
# Node.js

Node.js is an open-source, cross-platform JavaScript runtime environment.

For information on using Node.js, see the [Node.js website][].

The Node.js project uses an [open governance model](./GOVERNANCE.md). The
[OpenJS Foundation][] provides support for the project.

**This project has a [Code of Conduct][].**

## Table of contents

* [Support](#support)
* [Release types](#release-types)
  * [Download](#download)
    * [Current and LTS releases](#current-and-lts-releases)
    * [Nightly releases](#nightly-releases)
    * [API documentation](#api-documentation)

I tried to upload the files here, but as a new user I have not the rights to do that. Do you need more of the two files?

No, that is fine, I just wanted to see what it was that they relate to. As you can see it is node.js. Can you remember what you were doing at 20:58 on Nov 2nd? Somehow it seems that nodejs got installed into /usr with ownership of pi.

[Edit also run
ls -al /var/log/nodered*
and see if there is an install log dated then.

That was the time where I first deleted the /usr/sbin/node and just afterwards ran the install script bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered) --node16 and then got the

sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set

from the installer.
Then I search the internet for info on what that error ment, found the post on https://unix.stackexchange.com/questions/419122/sudo-must-be-owned-by-uid-0-and-have-the-setuid-bit-set where the chown command was shown, and after that concluded that I could not get it to work. The next morning (3. november) I wrote back here in the forum with what I expirenced.

pi@homeautomatic:/usr $ ls -al /var/log/nodered*
-rw-r--r-- 1 root root 6749 Nov  2 21:07 /var/log/nodered-install.log
-rw-r--r-- 1 root root 7029 Oct 30 20:40 /var/log/nodered-install.log.1
-rw-r--r-- 1 root root 1783 Feb  6  2021 /var/log/nodered-install.log.2.gz

Can you post that please, hopefully the answer is in there, or at least a big clue.

pi@homeautomatic:/usr $ cat /var/log/nodered-install.log
Already have nodejs v16.3.0
OLD nodejs 16 :
NEW nodejs  :

***************************************

Started : Mon Oct 31 15:11:43 CET 2022
Running for user pi at /home/pi
Found global nodes:   :

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Reading package lists...
Building dependency tree...
Reading state information...
Package 'nodered' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Versions: node:v16.3.0 npm:8.19.2
Now install Node-RED

added 8 packages, removed 15 packages, and changed 284 packages in 7m
3.0.2
Now create basic package.json for the user and move any global nodes
Installing extra nodes: node-red-node-pi-gpio@latest node-red-node-random@latest node-red-node-ping@latest node-red-contrib-play-audio@latest node-red-node-smooth@latest node-red-node-serialport@latest node-red-contrib-buffer-parser@latest :

up to date in 23s
Now add the shortcut and start/stop/log scripts to the menu
Now add systemd script and configure it for pi:pi @ /home/pi
Customized systemd script found @ /lib/systemd/system/nodered.service. To prevent loss of modifications, we'll not recreate the systemd script.
If you want the installer to recreate the systemd script, please delete or rename the current script & re-run the installer.
ln: failed to create symbolic link '/usr/bin/python': File exists
Now add launcher to top bar, add cpu temp example, make sure ping works
The user `pi' is already a member of `gpio'.

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Reading package lists...
Building dependency tree...
Reading state information...
python3-rpi.gpio is already the newest version (0.7.0-0.1~bpo10+4).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Allow binding to low ports : n
Memory  : 530M
Started :  Mon Oct 31 15:11:43 CET 2022
Finished:  Mon Oct 31 15:20:53 CET 2022
Already have nodejs v16.3.0
OLD nodejs 16 :
NEW nodejs 16 :

***************************************

Started : Tue Nov 1 16:28:00 CET 2022
Running for user pi at /home/pi
Found global nodes:   :

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Reading package lists...
Building dependency tree...
Reading state information...
Package 'nodered' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Reading package lists...
Building dependency tree...
Reading state information...
Package 'nodejs-legacy' is not installed, so not removed
Package 'npm' is not installed, so not removed
The following packages were automatically installed and are no longer required:
  libbrotli1 libc-ares2 libnode64 nodejs-doc
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  nodejs
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 154 kB disk space will be freed.
(Reading database ... 41593 files and directories currently installed.)
Removing nodejs (10.24.0~dfsg-1~deb10u2) ...
Processing triggers for man-db (2.8.5-2) ...

Versions: node:v16.3.0 npm:8.19.2
npm WARN using --force Recommended protections disabled.
Now install Node-RED

changed 292 packages in 8m
3.0.2
Now create basic package.json for the user and move any global nodes
Running npm rebuild
rebuilt dependencies successfully
Installing extra nodes: node-red-node-pi-gpio@latest node-red-node-random@latest node-red-node-ping@latest node-red-contrib-play-audio@latest node-red-node-smooth@latest node-red-node-serialport@latest node-red-contrib-buffer-parser@latest :

changed 1 package in 28s
Now add the shortcut and start/stop/log scripts to the menu
Now add systemd script and configure it for pi:pi @ /home/pi
Customized systemd script found @ /lib/systemd/system/nodered.service. To prevent loss of modifications, we'll not recreate the systemd script.
If you want the installer to recreate the systemd script, please delete or rename the current script & re-run the installer.
ln: failed to create symbolic link '/usr/bin/python': File exists
Now add launcher to top bar, add cpu temp example, make sure ping works
The user `pi' is already a member of `gpio'.

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Reading package lists...
Building dependency tree...
Reading state information...
python3-rpi.gpio is already the newest version (0.7.0-0.1~bpo10+4).
The following packages were automatically installed and are no longer required:
  libbrotli1 libc-ares2 libnode64 nodejs-doc
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Allow binding to low ports : n
Memory  : 530M
Started :  Tue Nov  1 16:28:00 CET 2022
Finished:  Tue Nov  1 16:40:54 CET 2022
Already have nodejs v16.18.0
OLD nodejs 16 :
NEW nodejs 16 :

***************************************

Started : Wed Nov 2 20:57:27 CET 2022
Running for user pi at /home/pi
Found global nodes:   :

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Reading package lists...
Building dependency tree...
Reading state information...
Package 'nodered' is not installed, so not removed
The following packages were automatically installed and are no longer required:
  libbrotli1 libc-ares2 libnode64 nodejs-doc
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Reading package lists...
Building dependency tree...
Reading state information...
Package 'nodejs-legacy' is not installed, so not removed
Package 'nodejs' is not installed, so not removed
Package 'npm' is not installed, so not removed
The following packages were automatically installed and are no longer required:
  libbrotli1 libc-ares2 libnode64 nodejs-doc
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Versions: node:v16.18.0 npm:8.19.2
npm WARN using --force Recommended protections disabled.
Now install Node-RED

added 292 packages in 8m

@dceejay can you throw any light on this? Looking at the install log just posted, the section near the end, this should be the log from post 23 where it complains sudo ownership is messed up. The log starts at Nov 2 20:57. The ls -al /usr from post 39 suggests that nodejs readme and changelog were written to /usr with ownership pi at 20:58.

In the install log it has

Reading package lists...
Building dependency tree...
Reading state information...
Package 'nodejs-legacy' is not installed, so not removed
Package 'nodejs' is not installed, so not removed
Package 'npm' is not installed, so not removed
The following packages were automatically installed and are no longer required:
  libbrotli1 libc-ares2 libnode64 nodejs-doc
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Which I assume is from line 423 in the install script

            elif uname -m | grep -q armv6l ; then
                $SUDO apt remove -y nodejs nodejs-legacy npm 2>&1 | $SUDO tee -a /var/log/nodered-install.log >>/dev/null

It is a pi zero W armv6l. That ran ok so sudo must have been ok at that point. However this is followed in the script by

                $SUDO rm -rf /etc/apt/sources.d/nodesource.list /usr/lib/node_modules/npm*
                echo -ne "  Remove old version of Node.js       $TICK   $nv2\r\n"

and that does not appear in the log, nor the stuff after it.

A bit below that it copies the arm6 nodejs to /usr
if $SUDO cp -PR /tmp/nodejs/* /usr 2>&1 | $SUDO tee -a /var/log/nodered-install.log >>/dev/null; then CHAR=$TICK; else CHAR=$CROSS; fi
Which I guess is where the nodejs changelog etc came from, but it should not have been able to do that if sudo was not working at this point. On the other hand if sudo were not working then the files extracted from the downloaded would have ownership pi, but it should not have been able to copy them to /usr. All very odd.

@henrik1 if you run
sudo apt update
what happens? I am wondering if sudo does still half work even though you get the error message.

I am running out of ideas, but it does look as if something in the script caused the damage.

Could it be a result of his manually installing node.js?

@Colin
indeed that is the "dangerous" part where we create the nodejs on Arm6

    $SUDO tar -zxof /tmp/node.tgz --strip-components=1 -C /tmp/nodejs
    $SUDO chown -R root:root /tmp/nodejs 2>&1 | $SUDO tee -a /var/log/nodered-install.log >>/dev/null
    if $SUDO cp -PR /tmp/nodejs/* /usr 2>&1 | $SUDO tee -a /var/log/nodered-install.log >>/dev/null; then CHAR=$TICK; else CHAR=$CROSS; fi
    $SUDO rm -rf /tmp/nodejs 2>&1 | $SUDO tee -a /var/log/nodered-install.log >>/dev/null

where we unzip node.js to a tmp directory - make sure it is owned by root - before then copying it into place. - then delete the tmp directory... but as you say I'm not sure why that would mess with the sudo command that is in there already.

I do have a Pi 0w somehere I can try later - but I suspect this is currently unrecoverable.

The OP is starting from scratch with a new card anyway. What worries me is that somehow it is the script that did it. In which case it will happen again.
Suppose /tmp/nodejs already existed and contained a bin directory with sudo in it. Then the copy would replace /usr/bin/sudo. I have no idea how that could occur however.
Having unpacked the nodejs tar file I don't think there is much doubt that pi ownership of the files in /usr came from there. It has the right files and also the folders include, lib and share, but exactly how that happened I can't understand.

I have noticed that the test for a valid download is not reliable

                hd=$(head -c 9 /tmp/node.tgz)
                if [ "$hd" == "<!DOCTYPE" ]; then
                    CHAR="$CROSS File $f not downloaded";
                else

Initially I messed up the download url as I did a straight copy/paste, so the tgta macros were not defined and got

<html>
<head><title>404 Not Found</title></head>
<body bgcolor="white">
<center><h1>404 Not Found</h1></center>
<hr><center>nginx</center>
</body>
</html>

so the doctype test does not pass. The untar command then fails so /tmp/nodejs would be left as is, I assume. Perhaps it would be a good idea to delete /tmp/nodejs at the start just in case this is part of the problem, even if we don't understand it.

1 Like

Good suggestion - fixed as per...

pi@homeautomatic:/usr $ sudo apt update
sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set

That is as expected, but I think it adds more evidence to the idea that it did happen during the node-red script. The apt commands at the start appear to have worked ok, then you started getting that message while the script was still running.

You said in the first post that you upgraded nodejs to 16.3.0. Do you remember how you did that? As @zenofmud suggested, it may be that something that happened there set the stage for the problem later.

There are three occurrences of sudo chown pi:pi in the script:

$SUDO chown -Rf $NODERED_USER:$NODERED_GROUP $NODERED_HOME/.config/
$SUDO chown -Rf $NODERED_USER:$NODERED_GROUP $NODERED_HOME/.node-red/node_modules 2>&1 >>/dev/null
$SUDO chown -Rf $NODERED_USER:$NODERED_GROUP $NODERED_HOME/.npm 2>&1 >>/dev/null

If one of these was the guilty party then $NODERED_HOME must have somehow contained /usr/bin space blahblah or either .config or .npm was [already] a link to /usr/bin?

Edit - Or $NODERED_GROUP contained pi /usr/bin[/]

I think more likely that it was due to the copy of nodejs across to /usr. The un-tarred nodejs does include files in bin so files would get written to that folder. If you look at post #39 you can see that it is the nodejs files that are owned by pi, not the whole folder.

@henrik1 I missed one folder off the list of folders to look at. Could you run
ls -al /usr/bin please.

/usr/bin belongs to pi. This is not normal.

Sure

pi@homeautomatic:/usr $ ls -al /usr/bin
total 153292
drwxr-xr-x  2 pi   pi      36864 Nov  2 21:06  .
drwxr-xr-x 10 root root     4096 Feb  6  2021  ..
-rwxr-xr-x  1 pi   pi         96 Oct 11  2019  2to3-2.7
-rwxr-xr-x  1 pi   pi      42744 Feb 28  2019 '['
-rwxr-xr-x  1 pi   pi      13780 Mar 18  2021  aconnect
-rwxr-xr-x  1 pi   pi      17880 Jan 10  2019  addpart
lrwxrwxrwx  1 pi   pi         29 Feb  6  2020  addr2line -> arm-linux-gnueabihf-addr2line
-rwxr-xr-x  1 pi   pi      38404 Mar 18  2021  alsabat
-rwxr-xr-x  1 pi   pi      62932 Mar 18  2021  alsaloop
-rwxr-xr-x  1 pi   pi      54908 Mar 18  2021  alsamixer
-rwxr-xr-x  1 pi   pi       5588 Mar 18  2021  alsatplg
-rwxr-xr-x  1 pi   pi      14020 Mar 18  2021  alsaucm
-rwxr-xr-x  1 pi   pi      17880 Mar 18  2021  amidi
-rwxr-xr-x  1 pi   pi      42516 Mar 18  2021  amixer
-rwxr-xr-x  1 pi   pi      62968 Mar 18  2021  aplay
-rwxr-xr-x  1 pi   pi      17880 Mar 18  2021  aplaymidi
lrwxrwxrwx  1 pi   pi          6 Feb 10  2019  apropos -> whatis
-rwxr-xr-x  1 pi   pi      13832 Apr 19  2021  apt
-rwxr-xr-x  1 pi   pi      67080 Apr 19  2021  apt-cache
-rwxr-xr-x  1 pi   pi      17928 Apr 19  2021  apt-cdrom
-rwxr-xr-x  1 pi   pi      17928 Apr 19  2021  apt-config
-rwxr-xr-x  1 pi   pi      17928 Apr 19  2021  apt-extracttemplates
-rwxr-xr-x  1 pi   pi     177672 Apr 19  2021  apt-ftparchive
-rwxr-xr-x  1 pi   pi      34312 Apr 19  2021  apt-get
-rwxr-xr-x  1 pi   pi      27833 Apr 19  2021  apt-key
-rwxr-xr-x  1 pi   pi      10868 Mar 17  2019  apt-listchanges
-rwxr-xr-x  1 pi   pi      42504 Apr 19  2021  apt-mark
-rwxr-xr-x  1 pi   pi      34312 Apr 19  2021  apt-sortpkgs
lrwxrwxrwx  1 pi   pi         22 Feb  6  2020  ar -> arm-linux-gnueabihf-ar
-rwxr-xr-x  1 pi   pi      26340 Feb 28  2019  arch
lrwxrwxrwx  1 pi   pi          5 Mar 18  2021  arecord -> aplay
-rwxr-xr-x  1 pi   pi      21988 Mar 18  2021  arecordmidi
-rwxr-xr-x  1 pi   pi      22484 Feb  6  2020  arm-linux-gnueabihf-addr2line
-rwxr-xr-x  1 pi   pi      47056 Feb  6  2020  arm-linux-gnueabihf-ar
-rwxr-xr-x  1 pi   pi     541476 Feb  6  2020  arm-linux-gnueabihf-as
-rwxr-xr-x  1 pi   pi      22304 Feb  6  2020  arm-linux-gnueabihf-c++filt
lrwxrwxrwx  1 pi   pi          5 Mar 19  2019  arm-linux-gnueabihf-cpp -> cpp-8
-rwxr-xr-x  1 pi   pi    1004100 Apr 16  2019  arm-linux-gnueabihf-cpp-8
-rwxr-xr-x  1 pi   pi    2495392 Feb  6  2020  arm-linux-gnueabihf-dwp
-rwxr-xr-x  1 pi   pi      22324 Feb  6  2020  arm-linux-gnueabihf-elfedit
lrwxrwxrwx  1 pi   pi          5 Mar 19  2019  arm-linux-gnueabihf-g++ -> g++-8
-rwxr-xr-x  1 pi   pi    1004100 Apr 16  2019  arm-linux-gnueabihf-g++-8
lrwxrwxrwx  1 pi   pi          5 Mar 19  2019  arm-linux-gnueabihf-gcc -> gcc-8
-rwxr-xr-x  1 pi   pi    1004100 Apr 16  2019  arm-linux-gnueabihf-gcc-8
lrwxrwxrwx  1 pi   pi          8 Mar 19  2019  arm-linux-gnueabihf-gcc-ar -> gcc-ar-8
-rwxr-xr-x  1 pi   pi      30364 Apr 16  2019  arm-linux-gnueabihf-gcc-ar-8
lrwxrwxrwx  1 pi   pi          8 Mar 19  2019  arm-linux-gnueabihf-gcc-nm -> gcc-nm-8
-rwxr-xr-x  1 pi   pi      30364 Apr 16  2019  arm-linux-gnueabihf-gcc-nm-8
lrwxrwxrwx  1 pi   pi         12 Mar 19  2019  arm-linux-gnueabihf-gcc-ranlib -> gcc-ranlib-8
-rwxr-xr-x  1 pi   pi      30364 Apr 16  2019  arm-linux-gnueabihf-gcc-ranlib-8
lrwxrwxrwx  1 pi   pi          6 Mar 19  2019  arm-linux-gnueabihf-gcov -> gcov-8
-rwxr-xr-x  1 pi   pi     576324 Apr 16  2019  arm-linux-gnueabihf-gcov-8
lrwxrwxrwx  1 pi   pi         11 Mar 19  2019  arm-linux-gnueabihf-gcov-dump -> gcov-dump-8
-rwxr-xr-x  1 pi   pi     440944 Apr 16  2019  arm-linux-gnueabihf-gcov-dump-8
lrwxrwxrwx  1 pi   pi         11 Mar 19  2019  arm-linux-gnueabihf-gcov-tool -> gcov-tool-8
-rwxr-xr-x  1 pi   pi     477852 Apr 16  2019  arm-linux-gnueabihf-gcov-tool-8
lrwxrwxrwx  1 pi   pi         27 Feb  6  2020  arm-linux-gnueabihf-gold -> arm-linux-gnueabihf-ld.gold
-rwxr-xr-x  1 pi   pi      84648 Feb  6  2020  arm-linux-gnueabihf-gprof
lrwxrwxrwx  1 pi   pi         26 Feb  6  2020  arm-linux-gnueabihf-ld -> arm-linux-gnueabihf-ld.bfd
-rwxr-xr-x  1 pi   pi     687412 Feb  6  2020  arm-linux-gnueabihf-ld.bfd
-rwxr-xr-x  1 pi   pi    4356032 Feb  6  2020  arm-linux-gnueabihf-ld.gold
-rwxr-xr-x  1 pi   pi      31052 Feb  6  2020  arm-linux-gnueabihf-nm
-rwxr-xr-x  1 pi   pi     139440 Feb  6  2020  arm-linux-gnueabihf-objcopy
-rwxr-xr-x  1 pi   pi     292732 Feb  6  2020  arm-linux-gnueabihf-objdump
lrwxrwxrwx  1 pi   pi         34 Jan 11  2021  arm-linux-gnueabihf-pkg-config -> /usr/share/pkg-config-crosswrapper
-rwxr-xr-x  1 pi   pi      47060 Feb  6  2020  arm-linux-gnueabihf-ranlib
-rwxr-xr-x  1 pi   pi     502232 Feb  6  2020  arm-linux-gnueabihf-readelf
-rwxr-xr-x  1 pi   pi    1110404 Feb 22  2019  arm-linux-gnueabihf-run
-rwxr-xr-x  1 pi   pi      22412 Feb  6  2020  arm-linux-gnueabihf-size
-rwxr-xr-x  1 pi   pi      22516 Feb  6  2020  arm-linux-gnueabihf-strings
-rwxr-xr-x  1 pi   pi     139444 Feb  6  2020  arm-linux-gnueabihf-strip
-rwxr-xr-x  2 pi   pi      38744 Jan 27  2019  arm-unknown-linux-gnueabihf-pkg-config
lrwxrwxrwx  1 pi   pi         22 Feb  6  2020  as -> arm-linux-gnueabihf-as
-rwxr-xr-x  1 pi   pi      13780 Mar 18  2021  aseqdump
-rwxr-xr-x  1 pi   pi      13820 Mar 18  2021  aseqnet
lrwxrwxrwx  1 pi   pi         21 Jan 11  2021  awk -> /etc/alternatives/awk
-rwxr-xr-x  1 pi   pi      62932 Mar 18  2021  axfer
-rwxr-xr-x  1 pi   pi      63284 Feb 28  2019  b2sum
-rwxr-xr-x  1 pi   pi      30464 Feb 28  2019  base32
-rwxr-xr-x  1 pi   pi      30464 Feb 28  2019  base64
-rwxr-xr-x  1 pi   pi      26336 Feb 28  2019  basename
-rwxr-xr-x  1 pi   pi     925124 Apr 18  2019  bash
-rwxr-xr-x  1 pi   pi       6804 Apr 18  2019  bashbug
-rwxr-xr-x  1 pi   pi     168484 Oct 26 16:47  bccmd
-rwxr-xr-x  1 pi   pi      90548 Oct 26 16:47  bdaddr
-rwxr-xr-x  1 pi   pi      46548 Oct 26 16:47  bluemoon
-rwxr-xr-x  1 pi   pi     145088 Oct 26 16:47  bluetoothctl
-rwxr-xr-x  1 pi   pi      38452 Aug  6  2021  bootctl
-rwxr-xr-x  1 pi   pi       9788 Dec 29  2017  bsd-from
-rwxr-xr-x  1 pi   pi       9864 Dec 29  2017  bsd-write
-rwxr-xr-x  1 pi   pi      38356 Oct 26 16:47  btattach
-rwxr-xr-x  1 pi   pi       1422 May 14  2021  bthelper
-rwxr-xr-x  1 pi   pi     219404 Oct 26 16:47  btmgmt
-rwxr-xr-x  1 pi   pi     504240 Oct 26 16:47  btmon
-rwxr-xr-x  1 pi   pi       1010 May 14  2021  btuart
-rwxr-xr-x  3 pi   pi      26100 Jul 21  2020  bunzip2
-rwxr-xr-x  1 pi   pi      71204 Aug  6  2021  busctl
-rwxr-xr-x  1 pi   pi     743212 Apr  1  2019  busybox
-rwxr-xr-x  3 pi   pi      26100 Jul 21  2020  bzcat
lrwxrwxrwx  1 pi   pi          6 Jul 21  2020  bzcmp -> bzdiff
-rwxr-xr-x  1 pi   pi       2225 Jul 21  2020  bzdiff
lrwxrwxrwx  1 pi   pi          6 Jul 21  2020  bzegrep -> bzgrep
-rwxr-xr-x  1 pi   pi       4877 Jun 24  2019  bzexe
lrwxrwxrwx  1 pi   pi          6 Jul 21  2020  bzfgrep -> bzgrep
-rwxr-xr-x  1 pi   pi       3641 Jul 21  2020  bzgrep
-rwxr-xr-x  3 pi   pi      26100 Jul 21  2020  bzip2
-rwxr-xr-x  1 pi   pi       9632 Jul 21  2020  bzip2recover
lrwxrwxrwx  1 pi   pi          6 Jul 21  2020  bzless -> bzmore
-rwxr-xr-x  1 pi   pi       1297 Jul 21  2020  bzmore
lrwxrwxrwx  1 pi   pi         21 Jan 11  2021  c++ -> /etc/alternatives/c++
lrwxrwxrwx  1 pi   pi         27 Feb  6  2020  c++filt -> arm-linux-gnueabihf-c++filt
lrwxrwxrwx  1 pi   pi         21 Jan 11  2021  c89 -> /etc/alternatives/c89
-rwxr-xr-x  1 pi   pi        428 Mar 11  2019  c89-gcc
lrwxrwxrwx  1 pi   pi         21 Jan 11  2021  c99 -> /etc/alternatives/c99
-rwxr-xr-x  1 pi   pi        454 Mar 11  2019  c99-gcc
-rwxr-xr-x  1 pi   pi       6277 Jun 24 22:07  c_rehash
lrwxrwxrwx  1 pi   pi          4 Dec 29  2017  cal -> ncal
-rwxr-xr-x  1 pi   pi      26676 Dec 29  2017  calendar
lrwxrwxrwx  1 pi   pi          3 Oct 28 23:03  captoinfo -> tic
-rwxr-xr-x  1 pi   pi      26396 Feb 28  2019  cat
-rwxr-xr-x  1 pi   pi       3316 Jul 11 13:59  catchsegv
-rwxr-xr-x  1 pi   pi      30392 Feb 10  2019  catman
lrwxrwxrwx  1 pi   pi         20 Jan 11  2021  cc -> /etc/alternatives/cc
-rwxr-xr-x  1 pi   pi     147148 Apr 27  2019  cec-compliance
-rwxr-xr-x  1 pi   pi     218064 Apr 27  2019  cec-ctl
-rwxr-xr-x  1 pi   pi      79512 Apr 27  2019  cec-follower
-rwxr-xr-x  1 pi   pi      49608 Jul 27  2018  chage
lrwxrwxrwx  1 pi   pi         11 Jan 22  2019  chardet3 -> chardetect3
-rwxr-xr-x  1 pi   pi        389 Jan 22  2019  chardetect3
-rwxr-xr-x  1 pi   pi       9688 Jan 10  2020  chattr
-rwxr-xr-x  1 pi   pi      51060 Feb 28  2019  chcon
-rwxr-xr-x  1 pi   pi      40288 Jul 27  2018  chfn
-rwxr-xr-x  1 pi   pi      51016 Feb 28  2019  chgrp
-rwxr-xr-x  1 pi   pi      46888 Feb 28  2019  chmod
-rwxr-xr-x  1 pi   pi      34264 Jan 10  2019  choom
-rwxr-xr-x  1 pi   pi      51024 Feb 28  2019  chown
-rwxr-xr-x  1 pi   pi      26072 Jan 10  2019  chrt
-rwxr-xr-x  1 pi   pi      31408 Jul 27  2018  chsh
-rwxr-xr-x  1 pi   pi       5688 Jul 28  2018  chvt
-rwxr-xr-x  1 pi   pi      13976 May 10 22:26  cifscreds
-rwxr-xr-x  1 pi   pi     124084 Oct 26 16:47  ciptool
-rwxr-xr-x  1 pi   pi     149898 Aug 15  2019  ckbcomp
-rwxr-xr-x  1 pi   pi      26344 Feb 28  2019  cksum
-rwxr-xr-x  1 pi   pi       9636 Oct 28 23:03  clear
-rwxr-xr-x  1 pi   pi       9792 Apr 18  2019  clear_console
-rwxr-xr-x  1 pi   pi      34540 Apr  8  2019  cmp
-rwxr-xr-x  1 pi   pi       9724 Jul 28  2018  codepage
-rwxr-xr-x  1 pi   pi       9780 Dec 29  2017  col
-rwxr-xr-x  1 pi   pi       5616 Dec 29  2017  colcrt
-rwxr-xr-x  1 pi   pi       5664 Dec 29  2017  colrm
-rwxr-xr-x  1 pi   pi       9844 Dec 29  2017  column
-rwxr-xr-x  1 pi   pi      30464 Feb 28  2019  comm
lrwxrwxrwx  1 pi   pi         11 Feb  9  2019  compose -> run-mailcap
-rwxr-xr-x  1 pi   pi       5588 Nov 12  2017  con2fbmap
-rwxr-xr-x  1 pi   pi      26076 Jan 27  2021  convert-dtsv0
-rwxr-xr-x  1 pi   pi      15088 Jul 21  2020  corelist
lrwxrwxrwx  1 pi   pi         45 Nov  2 20:58  corepack -> ../lib/node_modules/corepack/dist/corepack.js
-rwxr-xr-x  1 pi   pi     112780 Feb 28  2019  cp
-rwxr-xr-x  1 pi   pi       8156 Jul 21  2020  cpan
-rwxr-xr-x  1 pi   pi       8180 Jul 21  2020  cpan5.28-arm-linux-gnueabihf
-rwxr-xr-x  1 pi   pi     122700 Apr 23  2019  cpio
lrwxrwxrwx  1 pi   pi          5 Mar 19  2019  cpp -> cpp-8
lrwxrwxrwx  1 pi   pi         25 Apr 16  2019  cpp-8 -> arm-linux-gnueabihf-cpp-8
-rwxr-xr-x  1 pi   pi      30452 Oct 11  2019  crontab
-rwxr-xr-x  1 pi   pi      42820 Feb 28  2019  csplit
lrwxrwxrwx  1 pi   pi          6 Dec  3  2020  ctstat -> lnstat
-rwxr-xr-x  1 pi   pi     185812 Aug 28 17:35  curl
-rwxr-xr-x  1 pi   pi      34588 Feb 28  2019  cut
-rwxr-xr-x  1 pi   pi     247308 Jan 20  2021  cvtsudoers
-rwxr-xr-x  1 pi   pi       9828 Apr 27  2019  cx18-ctl
-rwxr-xr-x  1 pi   pi      91896 Jan 17  2019  dash
-rwxr-xr-x  1 pi   pi      87888 Feb 28  2019  date
-rwxr-xr-x  1 pi   pi       9632 Oct 10 13:19  dbus-cleanup-sockets
-rwxr-xr-x  1 pi   pi     182192 Oct 10 13:19  dbus-daemon
-rwxr-xr-x  1 pi   pi      17872 Oct 10 13:19  dbus-monitor
-rwxr-xr-x  1 pi   pi       9632 Oct 10 13:19  dbus-run-session
-rwxr-xr-x  1 pi   pi      21916 Oct 10 13:19  dbus-send
-rwxr-xr-x  1 pi   pi       9628 Oct 10 13:19  dbus-update-activation-environment
-rwxr-xr-x  1 pi   pi       5536 Oct 10 13:19  dbus-uuidgen
-rwxr-xr-x  1 pi   pi      38376 Mar 22  2018  dc
-rwxr-xr-x  1 pi   pi      63368 Feb 28  2019  dd
-rwxr-xr-x  1 pi   pi       9788 Jul 28  2018  deallocvt
-rwxr-xr-x  1 pi   pi      21328 Nov 22  2018  deb-systemd-helper
-rwxr-xr-x  1 pi   pi       4430 Nov 22  2018  deb-systemd-invoke
-rwxr-xr-x  1 pi   pi       2859 Oct  1  2021  debconf
-rwxr-xr-x  1 pi   pi      11541 Oct  1  2021  debconf-apt-progress
-rwxr-xr-x  1 pi   pi        608 Oct  1  2021  debconf-communicate
-rwxr-xr-x  1 pi   pi       1719 Oct  1  2021  debconf-copydb
-rwxr-xr-x  1 pi   pi        647 Oct  1  2021  debconf-escape
-rwxr-xr-x  1 pi   pi       1689 Oct  1  2021  debconf-get-selections
-rwxr-xr-x  1 pi   pi       7109 Oct  1  2021  debconf-getlang
-rwxr-xr-x  1 pi   pi        933 Oct  1  2021  debconf-loadtemplate
-rwxr-xr-x  1 pi   pi       5208 Oct  1  2021  debconf-mergetemplate
-rwxr-xr-x  1 pi   pi       2935 Oct  1  2021  debconf-set-selections
-rwxr-xr-x  1 pi   pi       1827 Oct  1  2021  debconf-show
-rwxr-xr-x  1 pi   pi      18024 Apr 27  2019  decode_tm6000
-rwxr-xr-x  1 pi   pi      17880 Jan 10  2019  delpart
-rwxr-xr-x  1 pi   pi      67812 Feb 28  2019  df
-rwxr-xr-x  1 pi   pi       2446 Feb 12  2019  dh_bash-completion
-rwxr-xr-x  1 pi   pi       1056 Mar  4  2019  dh_python2
-rwxr-xr-x  1 pi   pi     170036 Apr  8  2019  diff
-rwxr-xr-x  1 pi   pi      46920 Apr  8  2019  diff3
-rwxr-xr-x  1 pi   pi     108752 Feb 28  2019  dir
-rwxr-xr-x  1 pi   pi      34564 Feb 28  2019  dircolors
-rwxr-xr-x  1 pi   pi     446044 Sep 10  2019  dirmngr
-rwxr-xr-x  1 pi   pi      87872 Sep 10  2019  dirmngr-client
-rwxr-xr-x  1 pi   pi      22240 Feb 28  2019  dirname
-rwxr-xr-x  1 pi   pi      63060 Jan 10  2019  dmesg
lrwxrwxrwx  1 pi   pi          8 Sep 27  2018  dnsdomainname -> hostname
lrwxrwxrwx  1 pi   pi          8 Sep 27  2018  domainname -> hostname
-rwxr-xr-x  1 pi   pi     231120 May 24 13:40  dpkg
-rwxr-xr-x  1 pi   pi      12852 May 24 13:40  dpkg-architecture
-rwxr-xr-x  1 pi   pi       7565 May 24 13:40  dpkg-buildflags
-rwxr-xr-x  1 pi   pi      30610 May 24 13:40  dpkg-buildpackage
-rwxr-xr-x  1 pi   pi       7624 May 24 13:40  dpkg-checkbuilddeps
-rwxr-xr-x  1 pi   pi     120448 May 24 13:40  dpkg-deb
-rwxr-xr-x  1 pi   pi       2782 May 24 13:40  dpkg-distaddfile
-rwxr-xr-x  1 pi   pi     108192 May 24 13:40  dpkg-divert
-rwxr-xr-x  1 pi   pi      16795 May 24 13:40  dpkg-genbuildinfo
-rwxr-xr-x  1 pi   pi      17492 May 24 13:40  dpkg-genchanges
-rwxr-xr-x  1 pi   pi      14155 May 24 13:40  dpkg-gencontrol
-rwxr-xr-x  1 pi   pi      10902 May 24 13:40  dpkg-gensymbols
-rwxr-xr-x  1 pi   pi      20514 May 24 13:40  dpkg-maintscript-helper
-rwxr-xr-x  1 pi   pi       8547 May 24 13:40  dpkg-mergechangelogs
-rwxr-xr-x  1 pi   pi       6789 May 24 13:40  dpkg-name
-rwxr-xr-x  1 pi   pi       4567 May 24 13:40  dpkg-parsechangelog
-rwxr-xr-x  1 pi   pi     112276 May 24 13:40  dpkg-query
-rwxr-xr-x  1 pi   pi       8698 May 24 13:40  dpkg-scanpackages
-rwxr-xr-x  1 pi   pi       9167 May 24 13:40  dpkg-scansources
-rwxr-xr-x  1 pi   pi      31416 May 24 13:40  dpkg-shlibdeps
-rwxr-xr-x  1 pi   pi      23022 May 24 13:40  dpkg-source
-rwxr-xr-x  1 pi   pi      91752 May 24 13:40  dpkg-split
-rwxr-xr-x  1 pi   pi      42480 May 24 13:40  dpkg-statoverride
-rwxr-xr-x  1 pi   pi      58988 May 24 13:40  dpkg-trigger
-rwxr-xr-x  1 pi   pi       3262 May 24 13:40  dpkg-vendor
-rwxr-xr-x  1 pi   pi      98304 Jan 27  2021  dtc
-rwxr-xr-x  1 pi   pi        636 Jan 27  2021  dtdiff
lrwxrwxrwx  1 pi   pi         19 Mar  8  2022  dtmerge -> /opt/vc/bin/dtmerge
lrwxrwxrwx  1 pi   pi         21 Mar  8  2022  dtoverlay -> /opt/vc/bin/dtoverlay
lrwxrwxrwx  1 pi   pi         26 Mar  8  2022  dtoverlay-post -> /opt/vc/bin/dtoverlay-post
lrwxrwxrwx  1 pi   pi         25 Mar  8  2022  dtoverlay-pre -> /opt/vc/bin/dtoverlay-pre
lrwxrwxrwx  1 pi   pi         21 Mar  8  2022  dtparam -> /opt/vc/bin/dtoverlay
-rwxr-xr-x  1 pi   pi      88016 Feb 28  2019  du
-rwxr-xr-x  1 pi   pi      75420 Jul 28  2018  dumpkeys
lrwxrwxrwx  1 pi   pi         23 Feb  6  2020  dwp -> arm-linux-gnueabihf-dwp
-rwxr-xr-x  1 pi   pi      26332 Feb 28  2019  echo
-rwxr-xr-x  1 pi   pi      38464 Jan  3  2019  ed
lrwxrwxrwx  1 pi   pi         22 Mar  8  2022  edidparser -> /opt/vc/bin/edidparser
lrwxrwxrwx  1 pi   pi         11 Feb  9  2019  edit -> run-mailcap
lrwxrwxrwx  1 pi   pi         24 Jan 11  2021  editor -> /etc/alternatives/editor
-rwxr-xr-x  1 pi   pi         28 Jan  7  2019  egrep
lrwxrwxrwx  1 pi   pi         27 Feb  6  2020  elfedit -> arm-linux-gnueabihf-elfedit
-rwxr-xr-x  1 pi   pi      42111 Jul 21  2020  enc2xs
-rwxr-xr-x  1 pi   pi       3066 Jul 21  2020  encguess
-rwxr-xr-x  1 pi   pi      30460 Feb 28  2019  env
-rwxr-xr-x  1 pi   pi      26340 Nov 10  2018  envsubst
-rwxr-xr-x  1 pi   pi     120000 Mar 19  2021  eqn
lrwxrwxrwx  1 pi   pi         20 Jan 11  2021  ex -> /etc/alternatives/ex
-rwxr-xr-x  1 pi   pi      30464 Feb 28  2019  expand
-rwxr-xr-x  1 pi   pi      18012 Jul 27  2018  expiry
-rwxr-xr-x  1 pi   pi      38668 Feb 28  2019  expr
-rwxr-xr-x  1 pi   pi      71456 Feb 28  2019  factor
-rwxr-xr-x  1 pi   pi      18020 Jul 27  2018  faillog
-rwxr-xr-x  1 pi   pi      26356 Jun 25  2018  faked-sysv
-rwxr-xr-x  1 pi   pi      26356 Jun 25  2018  faked-tcp
lrwxrwxrwx  1 pi   pi         26 Jan 11  2021  fakeroot -> /etc/alternatives/fakeroot
-rwxr-xr-x  1 pi   pi       3854 Jun 25  2018  fakeroot-sysv
-rwxr-xr-x  1 pi   pi       3849 Jun 25  2018  fakeroot-tcp
-rwxr-xr-x  1 pi   pi      21976 Jan 10  2019  fallocate
-rwxr-xr-x  1 pi   pi      22228 Feb 28  2019  false
-rwxr-xr-x  1 pi   pi      30208 Nov 12  2017  fbset
-rwxr-xr-x  1 pi   pi      13780 Jan 27  2021  fdtdump
-rwxr-xr-x  1 pi   pi      26068 Jan 27  2021  fdtget
-rwxr-xr-x  1 pi   pi      30164 Jan 27  2021  fdtoverlay
-rwxr-xr-x  1 pi   pi      30164 Jan 27  2021  fdtput
-rwxr-xr-x  1 pi   pi       9784 Jul 28  2018  fgconsole
-rwxr-xr-x  1 pi   pi         28 Jan  7  2019  fgrep
-rwxr-xr-x  1 pi   pi      17992 Jan 25  2021  file
-rwxr-xr-x  1 pi   pi      22008 Jan 10  2019  fincore
-rwxr-xr-x  1 pi   pi     248564 Feb 16  2019  find
-rwxr-xr-x  1 pi   pi      51448 Jan 10  2019  findmnt
-rwxr-xr-x  1 pi   pi      22040 Jan 10  2019  flock
-rwxr-xr-x  1 pi   pi      34556 Feb 28  2019  fmt
-rwxr-xr-x  1 pi   pi      30460 Feb 28  2019  fold
-rwxr-xr-x  1 pi   pi      13788 May 31  2018  free
lrwxrwxrwx  1 pi   pi         22 Jan 11  2021  from -> /etc/alternatives/from
-rwxr-xr-x  1 pi   pi      17992 Sep 22 18:25  funzip
-rwxr-xr-x  1 pi   pi      26584 Aug 16  2021  fuser
-rwxr-xr-x  1 pi   pi      26072 Apr 22  2020  fusermount
lrwxrwxrwx  1 pi   pi          5 Mar 19  2019  g++ -> g++-8
lrwxrwxrwx  1 pi   pi         25 Apr 16  2019  g++-8 -> arm-linux-gnueabihf-g++-8
-rwxr-xr-x  1 pi   pi     210780 Oct 26 16:47  gatttool
lrwxrwxrwx  1 pi   pi          5 Mar 19  2019  gcc -> gcc-8
lrwxrwxrwx  1 pi   pi         25 Apr 16  2019  gcc-8 -> arm-linux-gnueabihf-gcc-8
lrwxrwxrwx  1 pi   pi          8 Mar 19  2019  gcc-ar -> gcc-ar-8
lrwxrwxrwx  1 pi   pi         28 Apr 16  2019  gcc-ar-8 -> arm-linux-gnueabihf-gcc-ar-8
lrwxrwxrwx  1 pi   pi          8 Mar 19  2019  gcc-nm -> gcc-nm-8
lrwxrwxrwx  1 pi   pi         28 Apr 16  2019  gcc-nm-8 -> arm-linux-gnueabihf-gcc-nm-8
lrwxrwxrwx  1 pi   pi         12 Mar 19  2019  gcc-ranlib -> gcc-ranlib-8
lrwxrwxrwx  1 pi   pi         32 Apr 16  2019  gcc-ranlib-8 -> arm-linux-gnueabihf-gcc-ranlib-8
-rwxr-xr-x  1 pi   pi       3422 Feb 22  2019  gcore
lrwxrwxrwx  1 pi   pi          6 Mar 19  2019  gcov -> gcov-8
lrwxrwxrwx  1 pi   pi         26 Apr 16  2019  gcov-8 -> arm-linux-gnueabihf-gcov-8
lrwxrwxrwx  1 pi   pi         11 Mar 19  2019  gcov-dump -> gcov-dump-8
lrwxrwxrwx  1 pi   pi         31 Apr 16  2019  gcov-dump-8 -> arm-linux-gnueabihf-gcov-dump-8
lrwxrwxrwx  1 pi   pi         11 Mar 19  2019  gcov-tool -> gcov-tool-8
lrwxrwxrwx  1 pi   pi         31 Apr 16  2019  gcov-tool-8 -> arm-linux-gnueabihf-gcov-tool-8
-rwxr-xr-x  1 pi   pi    5368260 Feb 22  2019  gdb
-rwxr-xr-x  1 pi   pi       3270 Feb 22  2019  gdb-add-index
-rwxr-xr-x  1 pi   pi        126 Feb 22  2019  gdbtui
-rwxr-xr-x  1 pi   pi      18144 Jul 11 13:59  gencat
lrwxrwxrwx  1 pi   pi          3 Mar 19  2021  geqn -> eqn
-rwxr-xr-x  1 pi   pi       9632 May 10 22:26  getcifsacl
-rwxr-xr-x  1 pi   pi      18016 Jul 11 13:59  getconf
-rwxr-xr-x  1 pi   pi      18496 Jul 11 13:59  getent
-rwxr-xr-x  1 pi   pi       9784 Jul 28  2018  getkeycodes
-rwxr-xr-x  1 pi   pi      13780 Jan 10  2019  getopt
-rwxr-xr-x  1 pi   pi      26328 Nov 10  2018  gettext
-rwxr-xr-x  1 pi   pi       4629 Nov 10  2018  gettext.sh
lrwxrwxrwx  1 pi   pi         12 Jul  2  2018  ginstall-info -> install-info
-rwxr-xr-x  1 pi   pi    2150312 Oct 10 23:28  git
lrwxrwxrwx  1 pi   pi          3 Oct 10 23:28  git-receive-pack -> git
-rwxr-xr-x  1 pi   pi    1205712 Oct 10 23:28  git-shell
lrwxrwxrwx  1 pi   pi          3 Oct 10 23:28  git-upload-archive -> git
lrwxrwxrwx  1 pi   pi          3 Oct 10 23:28  git-upload-pack -> git
lrwxrwxrwx  1 pi   pi         24 Feb  6  2020  gold -> arm-linux-gnueabihf-gold
-rwxr-xr-x  1 pi   pi      57784 Jul 27  2018  gpasswd
-rwxr-xr-x  1 pi   pi     843896 Sep 10  2019  gpg
-rwxr-xr-x  1 pi   pi     318244 Sep 10  2019  gpg-agent
-rwxr-xr-x  1 pi   pi     124756 Sep 10  2019  gpg-connect-agent
-rwxr-xr-x  1 pi   pi     157632 Sep 10  2019  gpg-wks-server
-rwxr-xr-x  1 pi   pi       3516 Sep 10  2019  gpg-zip
-rwxr-xr-x  1 pi   pi     711328 Sep 10  2019  gpgcompose
-rwxr-xr-x  1 pi   pi     121048 Sep 10  2019  gpgconf
-rwxr-xr-x  1 pi   pi      21972 Sep 10  2019  gpgparsemail
-rwxr-xr-x  1 pi   pi     397324 Sep 10  2019  gpgsm
-rwxr-xr-x  1 pi   pi      63120 Sep 10  2019  gpgsplit
-rwxr-xr-x  1 pi   pi     116812 Sep 10  2019  gpgtar
-rwxr-xr-x  1 pi   pi     358344 Sep 10  2019  gpgv
lrwxrwxrwx  1 pi   pi          3 Mar 19  2021  gpic -> pic
lrwxrwxrwx  1 pi   pi         25 Feb  6  2020  gprof -> arm-linux-gnueabihf-gprof
-rwxr-xr-x  1 pi   pi     157272 Jan  7  2019  grep
-rwxr-xr-x  1 pi   pi      74928 Mar 19  2021  groff
-rwxr-xr-x  1 pi   pi       2776 Mar 19  2021  grog
-rwxr-xr-x  1 pi   pi     120308 Mar 19  2021  grops
-rwxr-xr-x  1 pi   pi      83144 Mar 19  2021  grotty
-rwxr-xr-x  1 pi   pi      26364 Feb 28  2019  groups
lrwxrwxrwx  1 pi   pi          3 Mar 19  2021  gtbl -> tbl
-rwxr-xr-x  2 pi   pi       2345 Apr 15  2022  gunzip
-rwxr-xr-x  1 pi   pi       6446 Apr 15  2022  gzexe
-rwxr-xr-x  1 pi   pi      72204 Apr 15  2022  gzip
-rwxr-xr-x  1 pi   pi      29224 Jul 21  2020  h2ph
-rwxr-xr-x  1 pi   pi      60866 Jul 21  2020  h2xs
-rwxr-xr-x  1 pi   pi      18088 Jan 23  2019  hardlink
-rwxr-xr-x  1 pi   pi     120596 Oct 26 16:47  hciattach
-rwxr-xr-x  1 pi   pi     168344 Oct 26 16:47  hciconfig
-rwxr-xr-x  1 pi   pi     125092 Oct 26 16:47  hcitool
lrwxrwxrwx  1 pi   pi          7 Dec 29  2017  hd -> hexdump
-rwxr-xr-x  1 pi   pi      34568 Feb 28  2019  head
-rwxr-xr-x  1 pi   pi       2514 Dec 25  2021  helpztags
-rwxr-xr-x  1 pi   pi       9684 Oct 26 16:47  hex2hcd
-rwxr-xr-x  1 pi   pi      22216 Dec 29  2017  hexdump
-rwxr-xr-x  1 pi   pi     112396 Oct  5 11:07  host
-rwxr-xr-x  1 pi   pi      22236 Feb 28  2019  hostid
-rwxr-xr-x  1 pi   pi      13780 Sep 27  2018  hostname
-rwxr-xr-x  1 pi   pi      13776 Aug  6  2021  hostnamectl
-rwxr-xr-x  1 pi   pi     126268 Apr 26  2018  htop
-rwxr-xr-x  1 pi   pi      47012 Jul 11 13:59  iconv
-rwxr-xr-x  1 pi   pi      34604 Feb 28  2019  id
-rwxr-xr-x  1 pi   pi      13780 Mar 18  2021  iecset
-rwxr-xr-x  1 pi   pi     174156 Jul  2  2018  info
lrwxrwxrwx  1 pi   pi         29 Jan 11  2021  infobrowser -> /etc/alternatives/infobrowser
-rwxr-xr-x  1 pi   pi      54736 Oct 28 23:03  infocmp
lrwxrwxrwx  1 pi   pi          3 Oct 28 23:03  infotocap -> tic
-rwxr-xr-x  1 pi   pi     116956 Feb 28  2019  install
-rwxr-xr-x  1 pi   pi      35088 Jul  2  2018  install-info
-rwxr-xr-x  1 pi   pi       4370 Jul 21  2020  instmodsh
-rwxr-xr-x  1 pi   pi      21924 Jan 10  2019  ionice
-rwxr-xr-x  1 pi   pi     503112 Dec  3  2020  ip
-rwxr-xr-x  1 pi   pi      22024 Jan 10  2019  ipcmk
-rwxr-xr-x  1 pi   pi      21976 Jan 10  2019  ipcrm
-rwxr-xr-x  1 pi   pi      50648 Jan 10  2019  ipcs
lrwxrwxrwx  1 pi   pi         28 Mar  1  2019  iptables-xml -> ../sbin/xtables-legacy-multi
-rwxr-xr-x  1 pi   pi      26076 Apr 27  2019  ir-ctl
-rwxr-xr-x  1 pi   pi       5644 Jan 21  2019  ischroot
-rwxr-xr-x  1 pi   pi      13956 Apr 27  2019  ivtv-ctl
-rwxr-xr-x  1 pi   pi      38696 Feb 28  2019  join
-rwxr-xr-x  1 pi   pi      62952 Aug  6  2021  journalctl
-rwxr-xr-x  1 pi   pi       4379 Jul 21  2020  json_pp
-rwxr-xr-x  1 pi   pi       9784 Jul 28  2018  kbd_mode

(To much data to post in a single post, so it continues...)

Yes. If the folder /tmp/nodejs already existed and contained a folder bin and bin/sudo owned by pi then the copy would, I think, give the symtoms seen. How that would have occurred though, I have no idea.

-rwxr-xr-x  1 pi   pi       9788 Jul 28  2018  kbdinfo
-rwxr-xr-x  1 pi   pi     128764 Sep 10  2019  kbxutil
-rwxr-xr-x  1 pi   pi       4639 Feb 14  2019  kernel-install
-rwxr-xr-x  1 pi   pi      26204 Mar  6  2019  keyctl
-rwxr-xr-x  1 pi   pi      21976 May 31  2018  kill
-rwxr-xr-x  1 pi   pi      22508 Aug 16  2021  killall
-rwxr-xr-x  1 pi   pi     132612 Feb 10  2019  kmod
-rwxr-xr-x  1 pi   pi      90484 Oct 26 16:47  l2ping
-rwxr-xr-x  1 pi   pi     102896 Oct 26 16:47  l2test
-rwxr-xr-x  1 pi   pi      34264 Jan 10  2019  last
lrwxrwxrwx  1 pi   pi          4 Jan 10  2019  lastb -> last
-rwxr-xr-x  1 pi   pi      13780 Jul 27  2018  lastlog
-rwxr-xr-x  1 pi   pi       7786 Dec 14  2018  lcf
lrwxrwxrwx  1 pi   pi         22 Feb  6  2020  ld -> arm-linux-gnueabihf-ld
lrwxrwxrwx  1 pi   pi         26 Feb  6  2020  ld.bfd -> arm-linux-gnueabihf-ld.bfd
lrwxrwxrwx  1 pi   pi         27 Feb  6  2020  ld.gold -> arm-linux-gnueabihf-ld.gold
-rwxr-xr-x  1 pi   pi       5326 Jul 11 13:59  ldd
-rwxr-xr-x  1 pi   pi     131372 Dec  1  2017  less
-rwxr-xr-x  1 pi   pi       5604 Dec  1  2017  lessecho
lrwxrwxrwx  1 pi   pi          8 Dec  1  2017  lessfile -> lesspipe
-rwxr-xr-x  1 pi   pi      14484 Dec  1  2017  lesskey
-rwxr-xr-x  1 pi   pi       8564 Dec  1  2017  lesspipe
-rwxr-xr-x  1 pi   pi      75476 Feb 10  2019  lexgrog
lrwxrwxrwx  1 pi   pi         21 Jan 11  2021  lft -> /etc/alternatives/lft
-rwxr-xr-x  1 pi   pi       2493 Aug 29  2016  lft.db
-rwxr-xr-x  1 pi   pi      15775 Jul 21  2020  libnetcfg
lrwxrwxrwx  1 pi   pi         15 Apr  8  2019  libpng-config -> libpng16-config
-rwxr-xr-x  1 pi   pi       2471 Apr  8  2019  libpng16-config
-rwxr-xr-x  1 pi   pi      22236 Feb 28  2019  link
-rwxr-xr-x  1 pi   pi       4674 Sep  5  2018  linux-check-removal
-rwxr-xr-x  1 pi   pi       6320 Jun  5  2016  linux-update-symlinks
-rwxr-xr-x  1 pi   pi       2696 Aug 11  2015  linux-version
lrwxrwxrwx  1 pi   pi          7 Jan 10  2019  linux32 -> setarch
lrwxrwxrwx  1 pi   pi          7 Jan 10  2019  linux64 -> setarch
-rwxr-xr-x  1 pi   pi      51076 Feb 28  2019  ln
-rwxr-xr-x  1 pi   pi      18232 Dec  3  2020  lnstat
-rwxr-xr-x  1 pi   pi     112532 Jul 28  2018  loadkeys
-rwxr-xr-x  1 pi   pi      22220 Jul 28  2018  loadunimap
-rwxr-xr-x  1 pi   pi      31980 Jul 11 13:59  locale
-rwxr-xr-x  1 pi   pi      17876 Aug  6  2021  localectl
-rwxr-xr-x  1 pi   pi     240196 Jul 11 13:59  localedef
-rwxr-xr-x  1 pi   pi      34552 Jan 10  2019  logger
-rwxr-xr-x  1 pi   pi      39076 Jul 27  2018  login
-rwxr-xr-x  1 pi   pi      42552 Aug  6  2021  loginctl
-rwxr-xr-x  1 pi   pi      22240 Feb 28  2019  logname
-rwxr-xr-x  1 pi   pi       9912 Dec 29  2017  look
-rwxr-xr-x  1 pi   pi       2885 Dec 29  2017  lorder
-rwxr-xr-x  1 pi   pi      87828 Jun  9 14:43  lowntfs-3g
-rwxr-xr-x  1 pi   pi     108752 Feb 28  2019  ls
-rwxr-xr-x  1 pi   pi       9688 Jan 10  2020  lsattr
-rwxr-xr-x  1 pi   pi       3638 May 31  2019  lsb_release
-rwxr-xr-x  1 pi   pi      83416 Jan 10  2019  lsblk
-rwxr-xr-x  1 pi   pi      67032 Jan 10  2019  lscpu
-rwxr-xr-x  1 pi   pi        706 Feb  6  2019  lsinitramfs
-rwxr-xr-x  1 pi   pi      67032 Jan 10  2019  lsipc
-rwxr-xr-x  1 pi   pi      30408 Jan 10  2019  lslocks
-rwxr-xr-x  1 pi   pi      50648 Jan 10  2019  lslogins
-rwxr-xr-x  1 pi   pi      46552 Jan 10  2019  lsmem
lrwxrwxrwx  1 pi   pi          4 Feb 10  2019  lsmod -> kmod
-rwxr-xr-x  1 pi   pi      34268 Jan 10  2019  lsns
-rwxr-xr-x  1 pi   pi      64696 Nov 30  2016  lspci
-rwxr-xr-x  1 pi   pi       1081 Aug 28  2017  lspgpot
-rwxr-xr-x  1 pi   pi     138836 Feb 24  2019  lsusb
lrwxrwxrwx  1 pi   pi         33 Jan 11  2021  lua -> /etc/alternatives/lua-interpreter
-rwxr-xr-x  1 pi   pi     133048 Jul 31  2016  lua5.1
lrwxrwxrwx  1 pi   pi         30 Jan 11  2021  luac -> /etc/alternatives/lua-compiler
-rwxr-xr-x  1 pi   pi      87724 Jul 31  2016  luac5.1
-rwxr-xr-x  1 pi   pi     411500 Oct 25  2017  luajit
lrwxrwxrwx  1 pi   pi         23 Jan 11  2021  lzcat -> /etc/alternatives/lzcat
lrwxrwxrwx  1 pi   pi         23 Jan 11  2021  lzcmp -> /etc/alternatives/lzcmp
lrwxrwxrwx  1 pi   pi         24 Jan 11  2021  lzdiff -> /etc/alternatives/lzdiff
lrwxrwxrwx  1 pi   pi         25 Jan 11  2021  lzegrep -> /etc/alternatives/lzegrep
lrwxrwxrwx  1 pi   pi         25 Jan 11  2021  lzfgrep -> /etc/alternatives/lzfgrep
lrwxrwxrwx  1 pi   pi         24 Jan 11  2021  lzgrep -> /etc/alternatives/lzgrep
lrwxrwxrwx  1 pi   pi         24 Jan 11  2021  lzless -> /etc/alternatives/lzless
lrwxrwxrwx  1 pi   pi         22 Jan 11  2021  lzma -> /etc/alternatives/lzma
-rwxr-xr-x  1 pi   pi       9792 Apr 11  2022  lzmainfo
lrwxrwxrwx  1 pi   pi         24 Jan 11  2021  lzmore -> /etc/alternatives/lzmore
-rwxr-xr-x  1 pi   pi     184064 Jul 28  2018  make
-rwxr-xr-x  1 pi   pi       4905 Jul 28  2018  make-first-existing-target
-rwxr-xr-x  1 pi   pi      84700 Feb 10  2019  man
-rwxr-xr-x  1 pi   pi     108332 Feb 10  2019  mandb
-rwxr-xr-x  1 pi   pi      26316 Feb 10  2019  manpath
-rwxr-xr-x  1 pi   pi      14016 Jul 28  2018  mapscrn
-rwxr-xr-x  1 pi   pi      94500 Apr  8  2012  mawk
-rwxr-xr-x  1 pi   pi      26120 Jan 10  2019  mcookie
-rwxr-xr-x  1 pi   pi      34580 Feb 28  2019  md5sum
lrwxrwxrwx  1 pi   pi          6 Feb 28  2019  md5sum.textutils -> md5sum
-rwxr-xr-x  1 pi   pi      38660 Apr 27  2019  media-ctl
-rwxr-xr-x  1 pi   pi       9684 Jan 10  2019  mesg
-rwxr-xr-x  1 pi   pi       3060 Sep 10  2019  migrate-pubring-from-classic-gpg
-rwxr-xr-x  1 pi   pi      16163 Jul 28  2018  mk_modmap
-rwxr-xr-x  1 pi   pi      63400 Feb 28  2019  mkdir
-rwxr-xr-x  1 pi   pi      46972 Feb 28  2019  mkfifo
-rwxr-xr-x  1 pi   pi      55176 Feb 28  2019  mknod
-rwxr-xr-x  1 pi   pi      34612 Feb 28  2019  mktemp
-rwxr-xr-x  1 pi   pi       4409 Nov 12  2017  modeline2fb
-rwxr-xr-x  1 pi   pi      30168 Jan 10  2019  more
-rwxr-xr-x  1 pi   pi      14012 Nov 16  2019  mosquitto_passwd
-rwxr-xr-x  1 pi   pi      34544 Nov 16  2019  mosquitto_pub
-rwxr-xr-x  1 pi   pi      34560 Nov 16  2019  mosquitto_sub
-rwxr-xr-x  1 pi   pi      38360 Jan 10  2019  mount
-rwxr-xr-x  1 pi   pi       9684 Jan 10  2019  mountpoint
-rwxr-xr-x  1 pi   pi      67144 Oct 26 16:47  mpris-proxy
lrwxrwxrwx  1 pi   pi         20 Jan 11  2021  mt -> /etc/alternatives/mt
-rwxr-xr-x  1 pi   pi      63548 Apr 23  2019  mt-gnu
-rwxr-xr-x  1 pi   pi       6480 Jul 11 13:59  mtrace
-rwxr-xr-x  1 pi   pi     108688 Feb 28  2019  mv
-rwxr-xr-x  1 pi   pi      21976 Jan 10  2019  namei
-rwxr-xr-x  1 pi   pi     202384 Jun 12  2019  nano
lrwxrwxrwx  1 pi   pi         22 Jan 11  2021  nawk -> /etc/alternatives/nawk
lrwxrwxrwx  1 pi   pi         20 Jan 11  2021  nc -> /etc/alternatives/nc
-rwxr-xr-x  1 pi   pi      30188 Feb 12  2019  nc.openbsd
-rwxr-xr-x  1 pi   pi      22340 Apr 13  2017  nc.traditional
-rwxr-xr-x  1 pi   pi      24480 Dec 29  2017  ncal
-rwxr-xr-x  1 pi   pi      63684 Mar 29  2018  ncdu
-rwxr-xr-x  1 pi   pi        913 Mar 19  2021  neqn
lrwxrwxrwx  1 pi   pi         24 Jan 11  2021  netcat -> /etc/alternatives/netcat
-rwxr-xr-x  1 pi   pi     106680 Sep 24  2018  netstat
-rwxr-xr-x  1 pi   pi      38368 Aug  6  2021  networkctl
-rwxr-xr-x  1 pi   pi      30864 Jul 27  2018  newgrp
-rwxr-xr-x  1 pi   pi      26336 Nov 10  2018  ngettext
-rwxr-xr-x  1 pi   pi      26352 Feb 28  2019  nice
lrwxrwxrwx  1 pi   pi          8 Sep 27  2018  nisdomainname -> hostname
-rwxr-xr-x  1 pi   pi      34636 Feb 28  2019  nl
lrwxrwxrwx  1 pi   pi         22 Feb  6  2020  nm -> arm-linux-gnueabihf-nm
-rwxr-xr-x  1 pi   pi   74230000 Nov  2 20:58  node
lrwxrwxrwx  1 root root       35 Nov  2 21:06  node-red -> ../lib/node_modules/node-red/red.js
lrwxrwxrwx  1 root root       44 Nov  2 21:06  node-red-pi -> ../lib/node_modules/node-red/bin/node-red-pi
-rwxr-xr-x  1 pi   pi      26368 Feb 28  2019  nohup
lrwxrwxrwx  1 pi   pi         38 Nov  2 20:58  npm -> ../lib/node_modules/npm/bin/npm-cli.js
-rwxr-xr-x  1 pi   pi      26360 Feb 28  2019  nproc
lrwxrwxrwx  1 pi   pi         38 Nov  2 20:58  npx -> ../lib/node_modules/npm/bin/npx-cli.js
-rwxr-xr-x  1 pi   pi       3293 Mar 19  2021  nroff
-rwxr-xr-x  1 pi   pi      26176 Jan 10  2019  nsenter
-rwxr-xr-x  1 pi   pi      59400 Dec  3  2020  nstat
-rwxr-xr-x  1 pi   pi     116516 Jun  9 14:43  ntfs-3g
-rwxr-xr-x  1 pi   pi       5536 Jun  9 14:43  ntfs-3g.probe
-rwxr-xr-x  1 pi   pi      21996 Jun  9 14:43  ntfscat
-rwxr-xr-x  1 pi   pi      30188 Jun  9 14:43  ntfscluster
-rwxr-xr-x  1 pi   pi      30188 Jun  9 14:43  ntfscmp
-rwxr-xr-x  1 pi   pi      42492 Jun  9 14:43  ntfsdecrypt
-rwxr-xr-x  1 pi   pi      30196 Jun  9 14:43  ntfsfallocate
-rwxr-xr-x  1 pi   pi      38388 Jun  9 14:43  ntfsfix
-rwxr-xr-x  1 pi   pi      54780 Jun  9 14:43  ntfsinfo
-rwxr-xr-x  1 pi   pi      27148 Jun  9 14:43  ntfsls
-rwxr-xr-x  1 pi   pi      26092 Jun  9 14:43  ntfsmove
-rwxr-xr-x  1 pi   pi     124396 Jun  9 14:43  ntfsrecover
-rwxr-xr-x  1 pi   pi      79820 Jun  9 14:43  ntfssecaudit
-rwxr-xr-x  1 pi   pi      34292 Jun  9 14:43  ntfstruncate
-rwxr-xr-x  1 pi   pi      26092 Jun  9 14:43  ntfsusermap
-rwxr-xr-x  1 pi   pi      46876 Jun  9 14:43  ntfswipe
-rwxr-xr-x  1 pi   pi      51028 Feb 28  2019  numfmt
-rwxr-xr-x  1 pi   pi     103924 Oct 26 16:47  obexctl
lrwxrwxrwx  1 pi   pi         27 Feb  6  2020  objcopy -> arm-linux-gnueabihf-objcopy
lrwxrwxrwx  1 pi   pi         27 Feb  6  2020  objdump -> arm-linux-gnueabihf-objdump
-rwxr-xr-x  1 pi   pi      59180 Feb 28  2019  od
-rwxr-xr-x  1 pi   pi     530672 Jun 24 22:07  openssl
-rwxr-xr-x  1 pi   pi      13992 Jul 28  2018  openvt
lrwxrwxrwx  1 pi   pi         23 Jan 11  2021  pager -> /etc/alternatives/pager
-rwxr-xr-x  1 pi   pi      87516 Jan 10  2019  partx
-rwxr-xr-x  1 pi   pi      45612 Jul 27  2018  passwd
-rwxr-xr-x  1 pi   pi      26356 Feb 28  2019  paste
-rwxr-xr-x  1 pi   pi     166064 Jul 26  2019  patch
-rwxr-xr-x  1 pi   pi      26344 Feb 28  2019  pathchk
-rwxr-xr-x  1 pi   pi       9908 Nov 30  2016  pcimodules
lrwxrwxrwx  1 pi   pi          4 Mar  4  2019  pdb -> pdb2
lrwxrwxrwx  1 pi   pi          6 Mar  4  2019  pdb2 -> pdb2.7
lrwxrwxrwx  1 pi   pi         23 Oct 11  2019  pdb2.7 -> ../lib/python2.7/pdb.py
lrwxrwxrwx  1 pi   pi          6 Mar 26  2019  pdb3 -> pdb3.7
lrwxrwxrwx  1 pi   pi         23 Jan 22  2021  pdb3.7 -> ../lib/python3.7/pdb.py
-rwxr-xr-x  1 pi   pi       9812 Aug 16  2021  peekfd
-rwxr-xr-x  1 pi   pi        528 Jul 20  2018  perf
-rwxr-xr-x  2 pi   pi    2844532 Jul 21  2020  perl
-rwxr-xr-x  1 pi   pi       5632 Jul 21  2020  perl5.28-arm-linux-gnueabihf
-rwxr-xr-x  2 pi   pi    2844532 Jul 21  2020  perl5.28.1
-rwxr-xr-x  2 pi   pi      46366 Jul 21  2020  perlbug
-rwxr-xr-x  1 pi   pi        125 Jul 21  2020  perldoc
-rwxr-xr-x  1 pi   pi      10864 Jul 21  2020  perlivp
-rwxr-xr-x  2 pi   pi      46366 Jul 21  2020  perlthanks
-rwxr-xr-x  1 pi   pi      21984 May 31  2018  pgrep
-rwxr-xr-x  1 pi   pi     141896 Mar 19  2021  pic
lrwxrwxrwx  1 pi   pi         22 Jan 11  2021  pico -> /etc/alternatives/pico
-rwxr-xr-x  1 pi   pi       8357 Jul 21  2020  piconv
lrwxrwxrwx  1 pi   pi         14 Feb 14  2019  pidof -> /sbin/killall5
-rwxr-xr-x  2 pi   pi      95760 Dec 27  2017  pigz
lrwxrwxrwx  1 pi   pi         26 Jan 11  2021  pinentry -> /etc/alternatives/pinentry
-rwxr-xr-x  1 pi   pi      46760 Apr 17  2019  pinentry-curses
-rwxr-xr-x  1 pi   pi      55720 Mar  8  2021  ping
lrwxrwxrwx  1 pi   pi          4 Mar  8  2021  ping4 -> ping
lrwxrwxrwx  1 pi   pi          4 Mar  8  2021  ping6 -> ping
-rwxr-xr-x  1 pi   pi      30524 Feb 28  2019  pinky
-rwxr-xr-x  1 pi   pi       9828 Jan 26  2022  pkaction
-rwxr-xr-x  1 pi   pi      14064 Jan 26  2022  pkcheck
-rwxr-xr-x  1 pi   pi      18248 Jan 26  2022  pkexec
-rwxr-xr-x  2 pi   pi      38744 Jan 27  2019  pkg-config
lrwxrwxrwx  1 pi   pi          5 May 31  2018  pkill -> pgrep
-rwxr-xr-x  1 pi   pi       9852 Jan 26  2022  pkttyagent
-rwxr-xr-x  1 pi   pi       4533 Jul 21  2020  pl2pm
-rwxr-xr-x  1 pi   pi      14012 Jul 11 13:59  pldd
-rwxr-xr-x  1 pi   pi      26076 May 31  2018  pmap
-rwxr-xr-x  1 pi   pi       5588 Apr  8  2019  png-fix-itxt
-rwxr-xr-x  1 pi   pi      38364 Apr  8  2019  pngfix
-rwxr-xr-x  1 pi   pi       4134 Jul 21  2020  pod2html
-rwxr-xr-x  1 pi   pi      15213 Jul 21  2020  pod2man
-rwxr-xr-x  1 pi   pi      11110 Jul 21  2020  pod2text
-rwxr-xr-x  1 pi   pi       3948 Jul 21  2020  pod2usage
-rwxr-xr-x  1 pi   pi       3658 Jul 21  2020  podchecker
-rwxr-xr-x  1 pi   pi       2527 Jul 21  2020  podselect
-rwxr-xr-x  1 pi   pi      63380 Feb 28  2019  pr
-rwxr-xr-x  1 pi   pi      42528 Mar 19  2021  preconv
lrwxrwxrwx  1 pi   pi         11 Feb  9  2019  print -> run-mailcap
-rwxr-xr-x  1 pi   pi      22236 Feb 28  2019  printenv
-rwxr-xr-x  1 pi   pi      17928 Dec 29  2017  printerbanner
-rwxr-xr-x  1 pi   pi      38660 Feb 28  2019  printf
-rwxr-xr-x  1 pi   pi      26328 Jan 10  2019  prlimit
-rwxr-xr-x  1 pi   pi      13655 Jul 21  2020  prove
-rwxr-xr-x  1 pi   pi      13908 Aug 16  2021  prtstat
-rwxr-xr-x  1 pi   pi      83584 May 31  2018  ps
lrwxrwxrwx  1 pi   pi          9 Jul 28  2018  psfaddtable -> psfxtable
lrwxrwxrwx  1 pi   pi          9 Jul 28  2018  psfgettable -> psfxtable
lrwxrwxrwx  1 pi   pi          9 Jul 28  2018  psfstriptable -> psfxtable
-rwxr-xr-x  1 pi   pi      18024 Jul 28  2018  psfxtable
-rwxr-xr-x  1 pi   pi       9792 Aug 16  2021  pslog
-rwxr-xr-x  1 pi   pi      22316 Aug 16  2021  pstree
lrwxrwxrwx  1 pi   pi          6 Aug 16  2021  pstree.x11 -> pstree
-rwxr-xr-x  1 pi   pi       3549 Jul 21  2020  ptar
-rwxr-xr-x  1 pi   pi       2628 Jul 21  2020  ptardiff
-rwxr-xr-x  1 pi   pi       4392 Jul 21  2020  ptargrep
-rwxr-xr-x  1 pi   pi      59252 Feb 28  2019  ptx
-rwxr-xr-x  1 pi   pi      26380 Feb 28  2019  pwd
-rwxr-xr-x  1 pi   pi       9684 May 31  2018  pwdx
-rwxr-xr-x  1 pi   pi       7806 Mar 26  2019  py3clean
-rwxr-xr-x  1 pi   pi      12113 Mar 26  2019  py3compile
lrwxrwxrwx  1 pi   pi         31 Mar 26  2019  py3versions -> ../share/python3/py3versions.py
-rwxr-xr-x  1 pi   pi       4124 Mar  4  2019  pyclean
-rwxr-xr-x  1 pi   pi      11895 Mar  4  2019  pycompile
lrwxrwxrwx  1 pi   pi          6 Mar  4  2019  pydoc -> pydoc2
lrwxrwxrwx  1 pi   pi          8 Mar  4  2019  pydoc2 -> pydoc2.7
-rwxr-xr-x  1 pi   pi         79 Oct 11  2019  pydoc2.7
lrwxrwxrwx  1 pi   pi          8 Mar 26  2019  pydoc3 -> pydoc3.7
-rwxr-xr-x  1 pi   pi         79 Jan 22  2021  pydoc3.7
lrwxrwxrwx  1 pi   pi         10 Mar  4  2019  pygettext -> pygettext2
lrwxrwxrwx  1 pi   pi         12 Mar  4  2019  pygettext2 -> pygettext2.7
-rwxr-xr-x  1 pi   pi      22082 Oct 11  2019  pygettext2.7
lrwxrwxrwx  1 pi   pi         12 Mar 26  2019  pygettext3 -> pygettext3.7
-rwxr-xr-x  1 pi   pi      21547 Jan 22  2021  pygettext3.7
lrwxrwxrwx  1 pi   pi          7 Mar  4  2019  python -> python2
lrwxrwxrwx  1 pi   pi          9 Mar  4  2019  python2 -> python2.7
-rwxr-xr-x  1 pi   pi    2984816 Oct 11  2019  python2.7
lrwxrwxrwx  1 pi   pi          9 Mar 26  2019  python3 -> python3.7
-rwxr-xr-x  2 pi   pi    4275580 Jan 22  2021  python3.7
-rwxr-xr-x  2 pi   pi    4275580 Jan 22  2021  python3.7m
lrwxrwxrwx  1 pi   pi         10 Mar 26  2019  python3m -> python3.7m
lrwxrwxrwx  1 pi   pi         29 Mar  4  2019  pyversions -> ../share/python/pyversions.py
lrwxrwxrwx  1 pi   pi         26 Feb  6  2020  ranlib -> arm-linux-gnueabihf-ranlib
-rwxr-xr-x  1 pi   pi      84356 Feb 10  2021  raspi-config
-rwxr-xr-x  1 pi   pi      20564 Oct  1  2019  raspi-gpio
-rwxr-xr-x  1 pi   pi       2383 Jul 18  2019  raspinfo
lrwxrwxrwx  1 pi   pi         22 Mar  8  2022  raspistill -> /opt/vc/bin/raspistill
lrwxrwxrwx  1 pi   pi         20 Mar  8  2022  raspivid -> /opt/vc/bin/raspivid
lrwxrwxrwx  1 pi   pi         23 Mar  8  2022  raspividyuv -> /opt/vc/bin/raspividyuv
lrwxrwxrwx  1 pi   pi         20 Mar  8  2022  raspiyuv -> /opt/vc/bin/raspiyuv
lrwxrwxrwx  1 pi   pi          4 Apr 18  2019  rbash -> bash
lrwxrwxrwx  1 pi   pi         21 Jan 11  2021  rcp -> /etc/alternatives/rcp
-rwxr-xr-x  1 pi   pi     128156 Oct 26 16:47  rctest
-rwxr-xr-x  1 pi   pi      79892 Dec  3  2020  rdma
-rwxr-xr-x  1 pi   pi      30536 Apr 27  2019  rds-ctl
lrwxrwxrwx  1 pi   pi         27 Feb  6  2020  readelf -> arm-linux-gnueabihf-readelf
-rwxr-xr-x  1 pi   pi      34552 Feb 28  2019  readlink
-rwxr-xr-x  1 pi   pi      34556 Feb 28  2019  realpath
-rwxr-xr-x  1 pi   pi         89 Jan  3  2019  red
-rwxr-xr-x  1 pi   pi      13780 Jan 10  2019  rename.ul
-rwxr-xr-x  1 pi   pi       9684 Jan 10  2019  renice
lrwxrwxrwx  1 pi   pi          4 Oct 28 23:03  reset -> tset
-rwxr-xr-x  1 pi   pi      46552 Jan 10  2019  resizepart
-rwxr-xr-x  1 pi   pi     104016 Aug  6  2021  resolvectl
-rwxr-xr-x  1 pi   pi       9632 Jan 10  2019  rev
-rwxr-xr-x  1 pi   pi      94864 Oct 26 16:47  rfcomm
-rwxr-xr-x  1 pi   pi         30 Aug  4  2017  rgrep
lrwxrwxrwx  1 pi   pi         24 Jan 11  2021  rlogin -> /etc/alternatives/rlogin
-rwxr-xr-x  1 pi   pi      51012 Feb 28  2019  rm
-rwxr-xr-x  1 pi   pi      34556 Feb 28  2019  rmdir
lrwxrwxrwx  1 pi   pi          4 Jun 12  2019  rnano -> nano
-rwxr-xr-x  1 pi   pi      18664 Apr 26  2012  rngtest
-rwxr-xr-x  1 pi   pi        208 Dec  3  2020  routef
-rwxr-xr-x  1 pi   pi       1656 Dec  3  2020  routel
-rwxr-xr-x  1 pi   pi      71612 Jul 11 13:59  rpcgen
-rwxr-xr-x  1 pi   pi      22040 Sep  9  2019  rpcinfo
-rwxr-xr-x  1 pi   pi      18689 Nov 23  2021  rpi-eeprom-config
-rwxr-xr-x  1 pi   pi       2607 Dec 10  2021  rpi-eeprom-digest
-rwxr-xr-x  1 pi   pi      28808 Nov 23  2021  rpi-eeprom-update
-rwxr-xr-x  1 pi   pi      18764 Jul  5  2021  rpi-update
lrwxrwxrwx  1 pi   pi         21 Jan 11  2021  rsh -> /etc/alternatives/rsh
-rwxr-xr-x  1 pi   pi     415532 Mar 15  2019  rsync
lrwxrwxrwx  1 pi   pi          6 Dec  3  2020  rtstat -> lnstat
-rwxr-xr-x  1 pi   pi      18161 Feb  9  2019  run-mailcap
-rwxr-xr-x  1 pi   pi      14112 Jan 21  2019  run-parts
-rwxr-xr-x  1 pi   pi      26400 Feb 28  2019  runcon
lrwxrwxrwx  1 pi   pi         23 Jan 11  2021  rview -> /etc/alternatives/rview
-rwxr-xr-x  1 pi   pi      10469 Jan 21  2019  savelog
-rwxr-xr-x  1 pi   pi      75280 Mar 12  2021  scp
-rwxr-xr-x  1 pi   pi       9812 Jul 28  2018  screendump
-rwxr-xr-x  1 pi   pi      38360 Jan 10  2019  script
-rwxr-xr-x  1 pi   pi      21976 Jan 10  2019  scriptreplay
-rwxr-xr-x  1 pi   pi      38692 Apr  8  2019  sdiff
-rwxr-xr-x  1 pi   pi     172984 Oct 26 16:47  sdptool
-rwxr-xr-x  1 pi   pi      92292 Dec 22  2018  sed
lrwxrwxrwx  1 pi   pi         11 Feb  9  2019  see -> run-mailcap
-rwxr-xr-x  1 pi   pi       2442 Mar 12  2018  select-editor
-rwxr-xr-x  1 pi   pi       1209 Mar 12  2018  sensible-browser
-rwxr-xr-x  1 pi   pi       1109 Mar 12  2018  sensible-editor
-rwxr-xr-x  1 pi   pi        433 Mar 12  2018  sensible-pager
-rwxr-xr-x  1 pi   pi      38668 Feb 28  2019  seq
-rwxr-xr-x  1 pi   pi      13840 Jan 10  2019  setarch
-rwxr-xr-x  1 pi   pi      17824 May 10 22:26  setcifsacl
-rwxr-xr-x  1 pi   pi      34548 Jul 28  2018  setfont
-rwxr-xr-x  1 pi   pi       9784 Jul 28  2018  setkeycodes
-rwxr-xr-x  1 pi   pi       9804 Jul 28  2018  setleds
-rwxr-xr-x  1 pi   pi       9780 Jul 28  2018  setlogcons
-rwxr-xr-x  1 pi   pi       5720 Jul 28  2018  setmetamode
-rwxr-xr-x  1 pi   pi      18052 Nov 30  2016  setpci
-rwxr-xr-x  1 pi   pi      34268 Jan 10  2019  setpriv
-rwxr-xr-x  1 pi   pi       9684 Jan 10  2019  setsid
-rwxr-xr-x  1 pi   pi      34264 Jan 10  2019  setterm
-rwxr-xr-x  1 pi   pi      38267 Aug 15  2019  setupcon
-rwxr-xr-x  1 pi   pi       9848 Jul 28  2018  setvtrgb
-rwxr-xr-x  1 pi   pi     120436 Mar 12  2021  sftp
lrwxrwxrwx  1 pi   pi          6 Jul 27  2018  sg -> newgrp
lrwxrwxrwx  1 pi   pi          4 Jan 11  2021  sh -> dash
-rwxr-xr-x  1 pi   pi      38676 Feb 28  2019  sha1sum
-rwxr-xr-x  1 pi   pi      42772 Feb 28  2019  sha224sum
-rwxr-xr-x  1 pi   pi      42772 Feb 28  2019  sha256sum
-rwxr-xr-x  1 pi   pi      79636 Feb 28  2019  sha384sum
-rwxr-xr-x  1 pi   pi      79636 Feb 28  2019  sha512sum
-rwxr-xr-x  1 pi   pi       9976 Jul 21  2020  shasum
-rwxr-xr-x  1 pi   pi      13924 Jul 28  2018  showconsolefont
-rwxr-xr-x  1 pi   pi       9808 Jul 28  2018  showkey
-rwxr-xr-x  1 pi   pi      51064 Feb 28  2019  shred
-rwxr-xr-x  1 pi   pi      42828 Feb 28  2019  shuf
lrwxrwxrwx  1 pi   pi         24 Feb  6  2020  size -> arm-linux-gnueabihf-size
-rwxr-xr-x  1 pi   pi      21976 May 31  2018  skill
-rwxr-xr-x  1 pi   pi      13784 May 31  2018  slabtop
-rwxr-xr-x  1 pi   pi      26340 Feb 28  2019  sleep
lrwxrwxrwx  1 pi   pi          3 Mar 12  2021  slogin -> ssh
lrwxrwxrwx  1 pi   pi          5 May 31  2018  snice -> skill
-rwxr-xr-x  1 pi   pi      30240 Mar 19  2021  soelim
-rwxr-xr-x  1 pi   pi      92300 Feb 28  2019  sort
-rwxr-xr-x  1 pi   pi       4292 Jul 11 13:59  sotruss
-rwxr-xr-x  1 pi   pi      26116 Mar 18  2021  speaker-test
-rwxr-xr-x  1 pi   pi      19150 Jul 21  2020  splain
-rwxr-xr-x  1 pi   pi      47380 Feb 28  2019  split
-rwxr-xr-x  1 pi   pi       5612 Jul 28  2018  splitfont
-rwxr-xr-x  1 pi   pi      22276 Jul 11 13:59  sprof
-rwxr-xr-x  1 pi   pi     124216 Dec  3  2020  ss
-rwxr-xr-x  1 pi   pi     595780 Mar 12  2021  ssh
-rwxr-xr-x  1 pi   pi     288260 Mar 12  2021  ssh-add
-rwxr-xr-x  1 pi   pi     267792 Mar 12  2021  ssh-agent
-rwxr-xr-x  1 pi   pi       1456 Jan 31  2020  ssh-argv0
-rwxr-xr-x  1 pi   pi      10658 Oct 17  2018  ssh-copy-id
-rwxr-xr-x  1 pi   pi       1771 Dec 28  2017  ssh-import-id
-rwxr-xr-x  1 pi   pi        782 Jan 30  2016  ssh-import-id-gh
-rwxr-xr-x  1 pi   pi        782 Jan 30  2016  ssh-import-id-lp
-rwxr-xr-x  1 pi   pi     349724 Mar 12  2021  ssh-keygen
-rwxr-xr-x  1 pi   pi     345624 Mar 12  2021  ssh-keyscan
-rwxr-xr-x  1 pi   pi      67496 Feb 28  2019  stat
-rwxr-xr-x  1 pi   pi      38668 Feb 28  2019  stdbuf
-rwxr-xr-x  1 pi   pi     640516 Jan 13  2019  strace
-rwxr-xr-x  1 pi   pi       1311 Dec 10  2018  strace-log-merge
lrwxrwxrwx  1 pi   pi         27 Feb  6  2020  strings -> arm-linux-gnueabihf-strings
lrwxrwxrwx  1 pi   pi         25 Feb  6  2020  strip -> arm-linux-gnueabihf-strip
-rwxr-xr-x  1 pi   pi      59176 Feb 28  2019  stty
-rwxr-xr-x  1 pi   pi      50648 Jan 10  2019  su
-rwsr-xr-x  1 pi   pi     147560 Jan 20  2021  sudo
lrwxrwxrwx  1 pi   pi          4 Jan 20  2021  sudoedit -> sudo
-rwxr-xr-x  1 pi   pi      51060 Jan 20  2021  sudoreplay
-rwxr-xr-x  1 pi   pi      34588 Feb 28  2019  sum
-rwxr-xr-x  1 pi   pi      91932 Sep 10  2019  symcryptrun
-rwxr-xr-x  1 pi   pi      26356 Feb 28  2019  sync
-rwxr-xr-x  1 pi   pi     795032 Aug  6  2021  systemctl
lrwxrwxrwx  1 pi   pi         20 Aug  6  2021  systemd -> /lib/systemd/systemd
-rwxr-xr-x  1 pi   pi    1185896 Aug  6  2021  systemd-analyze
-rwxr-xr-x  1 pi   pi       9768 Aug  6  2021  systemd-ask-password
-rwxr-xr-x  1 pi   pi       9688 Aug  6  2021  systemd-cat
-rwxr-xr-x  1 pi   pi      13852 Aug  6  2021  systemd-cgls
-rwxr-xr-x  1 pi   pi      30200 Aug  6  2021  systemd-cgtop
-rwxr-xr-x  1 pi   pi      17876 Aug  6  2021  systemd-delta
-rwxr-xr-x  1 pi   pi       9680 Aug  6  2021  systemd-detect-virt
-rwxr-xr-x  1 pi   pi      13776 Aug  6  2021  systemd-escape
-rwxr-xr-x  1 pi   pi      83708 Aug  6  2021  systemd-hwdb
-rwxr-xr-x  1 pi   pi       9680 Aug  6  2021  systemd-id128
-rwxr-xr-x  1 pi   pi      13788 Aug  6  2021  systemd-inhibit
-rwxr-xr-x  1 pi   pi      17944 Aug  6  2021  systemd-machine-id-setup
-rwxr-xr-x  1 pi   pi      42604 Aug  6  2021  systemd-mount
-rwxr-xr-x  1 pi   pi       9688 Aug  6  2021  systemd-notify
-rwxr-xr-x  1 pi   pi       9680 Aug  6  2021  systemd-path
lrwxrwxrwx  1 pi   pi         10 Aug  6  2021  systemd-resolve -> resolvectl
-rwxr-xr-x  1 pi   pi      46720 Aug  6  2021  systemd-run
-rwxr-xr-x  1 pi   pi      17876 Aug  6  2021  systemd-socket-activate
-rwxr-xr-x  1 pi   pi      13780 Aug  6  2021  systemd-stdio-bridge
-rwxr-xr-x  1 pi   pi      42644 Aug  6  2021  systemd-sysusers
-rwxr-xr-x  1 pi   pi      71252 Aug  6  2021  systemd-tmpfiles
-rwxr-xr-x  1 pi   pi      26068 Aug  6  2021  systemd-tty-ask-password-agent
lrwxrwxrwx  1 pi   pi         13 Aug  6  2021  systemd-umount -> systemd-mount
-rwxr-xr-x  1 pi   pi      13728 Oct 28 23:03  tabs
-rwxr-xr-x  1 pi   pi      30496 Feb 28  2019  tac
-rwxr-xr-x  1 pi   pi      59240 Feb 28  2019  tail
-rwxr-xr-x  1 pi   pi     352280 Apr 23  2019  tar
-rwxr-xr-x  1 pi   pi      16489 May 23  2019  tasksel
-rwxr-xr-x  1 pi   pi      26072 Jan 10  2019  taskset
-rwxr-xr-x  1 pi   pi      99872 Mar 19  2021  tbl
-rwxr-xr-x  1 pi   pi      26376 Feb 28  2019  tee
-rwxr-xr-x  1 pi   pi       9684 Jan 21  2019  tempfile
-rwxr-xr-x  1 pi   pi      38644 Feb 28  2019  test
-rwxr-xr-x  1 pi   pi      75244 Oct 28 23:03  tic
-rwxr-xr-x  1 pi   pi      30160 Aug  6  2021  timedatectl
-rwxr-xr-x  1 pi   pi      30948 Feb 28  2019  timeout
-rwxr-xr-x  1 pi   pi      13796 May 31  2018  tload
-rwxr-xr-x  1 pi   pi      13728 Oct 28 23:03  toe
-rwxr-xr-x  1 pi   pi      98500 May 31  2018  top
-rwxr-xr-x  1 pi   pi      79708 Feb 28  2019  touch
-rwxr-xr-x  1 pi   pi      17852 Oct 28 23:03  tput
-rwxr-xr-x  1 pi   pi      38660 Feb 28  2019  tr
lrwxrwxrwx  1 pi   pi         28 Jan 11  2021  traceproto -> /etc/alternatives/traceproto
-rwxr-xr-x  1 pi   pi       2885 Aug 29  2016  traceproto.db
lrwxrwxrwx  1 pi   pi         28 Jan 11  2021  traceroute -> /etc/alternatives/traceroute
-rwxr-xr-x  1 pi   pi       1618 Aug 29  2016  traceroute-nanog
-rwxr-xr-x  1 pi   pi      57332 Aug 29  2016  traceroute.db
lrwxrwxrwx  1 pi   pi         29 Jan 11  2021  traceroute6 -> /etc/alternatives/traceroute6
lrwxrwxrwx  1 pi   pi         13 Aug 29  2016  traceroute6.db -> traceroute.db
-rwxr-xr-x  1 pi   pi     405920 Mar 19  2021  troff
-rwxr-xr-x  1 pi   pi      22228 Feb 28  2019  true
-rwxr-xr-x  1 pi   pi      30456 Feb 28  2019  truncate
-rwxr-xr-x  1 pi   pi      17828 Oct 28 23:03  tset
-rwxr-xr-x  1 pi   pi      26360 Feb 28  2019  tsort
-rwxr-xr-x  1 pi   pi      22244 Feb 28  2019  tty
lrwxrwxrwx  1 pi   pi         21 Mar  8  2022  tvservice -> /opt/vc/bin/tvservice
-rwxr-xr-x  1 pi   pi      15381 Jul 11 13:59  tzselect
-rwxr-xr-x  1 pi   pi      40685 Dec 14  2018  ucf
-rwxr-xr-x  1 pi   pi      19367 Dec 14  2018  ucfq
-rwxr-xr-x  1 pi   pi      10722 Dec 14  2018  ucfr
-rwxr-xr-x  1 pi   pi     559124 Aug  6  2021  udevadm
-rwxr-xr-x  1 pi   pi       9816 Dec 29  2017  ul
-rwxr-xr-x  1 pi   pi       9684 Apr 22  2020  ulockmgr_server
-rwxr-xr-x  1 pi   pi      21972 Jan 10  2019  umount
-rwxr-xr-x  1 pi   pi      26340 Feb 28  2019  uname
-rwxr-xr-x  2 pi   pi       2345 Apr 15  2022  uncompress
-rwxr-xr-x  1 pi   pi      30468 Feb 28  2019  unexpand
-rwxr-xr-x  1 pi   pi       2762 Jul 28  2018  unicode_start
-rwxr-xr-x  1 pi   pi        530 Jul 28  2018  unicode_stop
-rwxr-xr-x  1 pi   pi      34584 Feb 28  2019  uniq
-rwxr-xr-x  1 pi   pi      22236 Feb 28  2019  unlink
lrwxrwxrwx  1 pi   pi         24 Jan 11  2021  unlzma -> /etc/alternatives/unlzma
-rwxr-xr-x  1 pi   pi       3595 Jul 31  2019  unmkinitramfs
-rwxr-xr-x  2 pi   pi      95760 Dec 27  2017  unpigz
-rwxr-xr-x  1 pi   pi      17972 Jan 10  2019  unshare
lrwxrwxrwx  1 pi   pi          2 Apr 11  2022  unxz -> xz
-rwxr-xr-x  2 pi   pi     145236 Sep 22 18:25  unzip
-rwxr-xr-x  1 pi   pi      63268 Sep 22 18:25  unzipsfx
-rwxr-xr-x  1 pi   pi      38468 May 24 13:40  update-alternatives
-rwxr-xr-x  1 pi   pi      43008 Sep 25  2018  update-mime-database
-rwxr-xr-x  1 pi   pi       9684 May 31  2018  uptime
-rwxr-xr-x  1 pi   pi       4102 Feb 24  2019  usb-devices
-rwxr-xr-x  1 pi   pi      18104 Feb 24  2019  usbhid-dump
-rwxr-xr-x  1 pi   pi       9800 Feb 24  2019  usbreset
-rwxr-xr-x  1 pi   pi      26360 Feb 28  2019  users
-rwxr-xr-x  1 pi   pi      17876 Jan 10  2019  utmpdump
-rwxr-xr-x  1 pi   pi     391204 Apr 27  2019  v4l2-compliance
-rwxr-xr-x  1 pi   pi     350456 Apr 27  2019  v4l2-ctl
-rwxr-xr-x  1 pi   pi      13816 Apr 27  2019  v4l2-sysfs-path
lrwxrwxrwx  1 pi   pi         17 Mar  8  2022  vcdbg -> /opt/vc/bin/vcdbg
lrwxrwxrwx  1 pi   pi         20 Mar  8  2022  vcgencmd -> /opt/vc/bin/vcgencmd
lrwxrwxrwx  1 pi   pi         22 Mar  8  2022  vchiq_test -> /opt/vc/bin/vchiq_test
-rwxr-xr-x  1 pi   pi     108752 Feb 28  2019  vdir
lrwxrwxrwx  1 pi   pi         20 Jan 11  2021  vi -> /etc/alternatives/vi
lrwxrwxrwx  1 pi   pi         22 Jan 11  2021  view -> /etc/alternatives/view
-rwxr-xr-x  1 pi   pi     921704 Dec 25  2021  vim.tiny
-rwxr-xr-x  1 pi   pi      26084 May 31  2018  vmstat
-rwxr-xr-x  1 pi   pi         54 May  7  2014  vsftpdwho
lrwxrwxrwx  1 pi   pi         19 Jan 11  2021  w -> /etc/alternatives/w
-rwxr-xr-x  1 pi   pi      17876 May 31  2018  w.procps
-rwxr-xr-x  1 pi   pi      26072 Jan 10  2019  wall
-rwxr-xr-x  1 pi   pi      22180 May 31  2018  watch
-rwxr-xr-x  1 pi   pi      13780 Sep 10  2019  watchgnupg
-rwxr-xr-x  1 pi   pi      34616 Feb 28  2019  wc
-rwxr-xr-x  1 pi   pi      26072 Jan 10  2019  wdctl
-rwxr-xr-x  1 pi   pi     379232 Apr  5  2019  wget
-rwxr-xr-x  1 pi   pi      38848 Feb 10  2019  whatis
-rwxr-xr-x  1 pi   pi      18128 Jan 10  2019  whereis
-rwxr-xr-x  1 pi   pi        946 Jan 21  2019  which
-rwxr-xr-x  1 pi   pi      22328 Sep 27  2018  whiptail
-rwxr-xr-x  1 pi   pi      38716 Feb 28  2019  who
-rwxr-xr-x  1 pi   pi      22244 Feb 28  2019  whoami
-rwxr-xr-x  1 pi   pi      50792 Apr 16  2021  wpa_passphrase
lrwxrwxrwx  1 pi   pi         23 Jan 11  2021  write -> /etc/alternatives/write
-rwxr-xr-x  1 pi   pi      54820 Feb 16  2019  xargs
-rwxr-xr-x  1 pi   pi      35004 Nov 21  2017  xauth
-rwxr-xr-x  1 pi   pi        234 Dec 28  2018  xdg-user-dir
-rwxr-xr-x  1 pi   pi      17916 Dec 28  2018  xdg-user-dirs-update
-rwxr-xr-x  1 pi   pi       5164 Jul 21  2020  xsubpp
-rwxr-xr-x  1 pi   pi      13804 Dec 25  2021  xxd
-rwxr-xr-x  1 pi   pi      63612 Apr 11  2022  xz
lrwxrwxrwx  1 pi   pi          2 Apr 11  2022  xzcat -> xz
lrwxrwxrwx  1 pi   pi          6 Apr 11  2022  xzcmp -> xzdiff
-rwxr-xr-x  1 pi   pi       6632 Apr 11  2022  xzdiff
lrwxrwxrwx  1 pi   pi          6 Apr 11  2022  xzegrep -> xzgrep
lrwxrwxrwx  1 pi   pi          6 Apr 11  2022  xzfgrep -> xzgrep
-rwxr-xr-x  1 pi   pi       5902 Apr 11  2022  xzgrep
-rwxr-xr-x  1 pi   pi       1802 Apr 11  2022  xzless
-rwxr-xr-x  1 pi   pi       2161 Apr 11  2022  xzmore
-rwxr-xr-x  1 pi   pi      22236 Feb 28  2019  yes
lrwxrwxrwx  1 pi   pi          8 Sep 27  2018  ypdomainname -> hostname
-rwxr-xr-x  1 pi   pi       1983 Apr 15  2022  zcat
-rwxr-xr-x  1 pi   pi       1677 Apr 15  2022  zcmp
-rwxr-xr-x  1 pi   pi       5897 Apr 15  2022  zdiff
-rwxr-xr-x  1 pi   pi      18076 Jul 11 13:59  zdump
-rwxr-xr-x  1 pi   pi         29 Apr 15  2022  zegrep
-rwxr-xr-x  1 pi   pi         29 Apr 15  2022  zfgrep
-rwxr-xr-x  1 pi   pi       2080 Apr 15  2022  zforce
-rwxr-xr-x  1 pi   pi       8048 Apr 15  2022  zgrep
-rwxr-xr-x  1 pi   pi      48497 Jul 21  2020  zipdetails
-rwxr-xr-x  1 pi   pi       2953 Sep 22 18:25  zipgrep
-rwxr-xr-x  2 pi   pi     145236 Sep 22 18:25  zipinfo
-rwxr-xr-x  1 pi   pi       2205 Apr 15  2022  zless
-rwxr-xr-x  1 pi   pi       1841 Apr 15  2022  zmore
-rwxr-xr-x  1 pi   pi       4576 Apr 15  2022  znew

Do you remember how you upgraded nodejs, as mentioned in your original post?

I have been searching my google search history and which link from that I have been at, and from that I am some 70% sure I went with this

sudo wget -O - https://raw.githubusercontent.com/sdesalas/node-pi-zero/master/install-node-v16.3.0.sh | bash
sudo apt-get update
sudo apt-get -y install nodejs

taken from a post in this forum https://forums.raspberrypi.com/viewtopic.php?t=334542. Last post on the page.