soft.linux - jgrey4296/jgrey4296.github.io GitHub Wiki
systemctl snap service
“journalctl -b” to inspect boot log
https://www.gnu.org/software/grub/manual/grub/grub.html in /etc/default/grub remove “quiet splash” then run “sudo update-grub2”
https://wiki.ubuntu.com/SystemdForUpstartUsers https://docs.fedoraproject.org/en-US/quick-docs/systemd-understanding-and-administering/ https://docs.redhat.com/en/documentation/Red_Hat_Enterprise_Linux/7/html/System_Administrators_Guide/chap-Managing_Services_with_systemd.html https://access.redhat.com/articles/754933
systemctl --version
# Gets startup programs
systemctl --all list-unit-files --type=service
man init-d-script --help 2>&1
/etc/fstab
https://askubuntu.com/questions/239590/how-do-i-wake-from-sleep-using-a-bluetooth-keyboard
https://www.digitalocean.com/community/tutorials/how-to-set-up-a-firewall-with-ufw-on-ubuntu
ufw --help
https://askubuntu.com/questions/818413/how-can-i-toggle-the-fn-function-key https://unix.stackexchange.com/questions/407501/make-apple-keyboard-settings-persistent-in-hid-apple-parameters https://help.ubuntu.com/community/AppleKeyboard#Change_Function_Key_behavior https://wiki.linuxquestions.org/wiki/Altering_or_Creating_Keyboard_Maps
$HOME $HOME/_cache_ : sdkman, sdkmanager, mamba, mail… $HOME/.config : settings, symlink to this repo, secrets for encrypted stuff $HOME/.local : things better installed manually. texlive, javamo, jason, mamba, opa
systemctl restart Networking.service
nmcli --help 2>&1
sudo ufw allow ssh
https://askubuntu.com/questions/1268107
modify /sys/bus/usb/devices/usb{bus}/power/wakeup to enabled
sudo sh -c "echo 'enabled' > /sys/devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/power/wakeup"
lsusb --help 2>&1
https://kinsta.com/knowledgebase/check-ubuntu-version/
lsb_release -a
echo "---"
cat /etc/os-release
echo "---"
hostnamectl
groupadd --help
useradd --help
chown --help
https://containertoolbx.org/
https://www.pcsuggest.com/linux-bluetooth-setup-hcitool-bluez/ https://programmerall.com/article/4399592982/
sdptool bluetoothctl hcitool
# list-units list-paths list-automounts list-sockets list-timers
systemctl list-automounts
https://www.freecodecamp.org/news/managing-ubuntu-snaps/
# List running services
snap services
# Stop a service:
# snap stop --disable %x
https://learn.microsoft.com/en-us/dotnet/core/install/linux-scripted-manual#scripted-install https://github.com/dotnet/sdk/issues/34590
snap connections mega-cmd
snap connect mega-cmd:removable-media
https://flathub.org/setup/Ubuntu https://docs.flatpak.org/en/latest/ https://itsfoss.com/flatpak-guide/ https://learnubuntu.com/install-emacs/
flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
https://vitux.com/how-to-add-remove-ppa-repositories-in-ubuntu/
Add sources to etc/apt/sources.list.d templates are in ~/.config/jg/templates/sources/
https://launchpad.net/~potasscoUse to find where apt puts stuff
# Find installed emacs files
dpkg -L emacs