📚 node [[ubuntu]]

Add a user to sudo group

usermod -aG sudo <username>

Count files recursively in a directory

find <directory> -type f | wc -l

Also suppress permission denied errors:

find <directory> -type f 2> /dev/null | wc -l

Reference Articles

Installing node / yarn on Ubuntu 18

https://linuxize.com/post/how-to-install-yarn-on-ubuntu-18-04/

  • #push [[ubuntu]]
    • I upgraded [[nostromo]] to [[ubuntu 22.04]] and, again, I ended up with no sound.
      • I needed to run the following to recover it:
      • sudo touch /usr/share/pipewire/media-session.d/with-pulseaudio && systemctl --user restart pipewire-session-manager
      • Also I had to fix sources.list by hand again before being able to do-release-upgrade because I missed the "upgrade window" for 21.10 so it was completely gone from repositories (?).
      • Both of these are very surprising to me, in this day and age. I don't quite get in particular how a less technical user should be expected to update sources.list by hand because they didn't upgrade for half a year or so?
📖 stoas
⥱ context
⥅ related node [[the ubuntu training corpus]]
⥅ related node [[the nested i and ubuntu rationality the relational ontology of the commons]]
⥅ related node [[ubuntu 20 04 basic server setup]]
⥅ related node [[ubuntu 20 04 server setup at greenhost]]
⥅ related node [[ubuntu rationality]]