Linux command reference
Bash creature comforts
GNOME
Neovim etc.
Measuring bandwidth with iPerf3.
Start iperf3 server on target machine “hostname”
iperf3 -s
Connect to “hostname” and determine speed of connection
iperf3 -c hostname
Login as different user on a machine and share screen.
Grant “user2” access to your display on the (non-network) local machine
xhost + local:user2
Open a login shell as “user2”
su - user2
Use pdfjam to extract pages from pdf. Pdfjam is a user-friendly layer over the powerful pdfpages package.
pdfjam <input file> <page ranges> -o <output file>
(Use it for booting Linux, updating firmware, anything where a bootable iso image is supplied)
lsblk
. say it’s /dev/sdx
dd
to create a bootable USBdd if=linuxmint-22.1-xfce-64bit.iso of=/dev/sdax bs=8M status=progress &&
sync
sync
at the end ensures all the data is written to the drive.
status=progress
is nice to get an indication nothing’s frozen up.Multicast DNS (mDNS) enables machines to resolve devices on the LAN using
<hostname>.local
scheme. The implementation for Linux is Avahi. Ubuntu
installs this automatically, but some other distributions, like openSUsE, do
not. The arch wiki page is a great
resource for setting it up yourself.
ControlMaster can be used to persist/reuse ssh connections e.g. for rsync
Example: add to ~/.ssh/config
ControlMaster auto
ControlPath ~/.ssh/control:%C
ControlPersist 5m
Open a new tab
<ctrl>+b c
Switch to a tab
<ctrl>+b 0...9
Add setw -g mouse on
in ~/.tmux.conf
to enable scrollback with mouse scroll.
https://synocommunity.com/
to Package Sources in Package manager.mosh
is found in it’s own packagetmux
is found in SynoCLI Network Toolssudo apt install git flatpak simple-scan
flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
flatpak install flathub org.mozilla.firefox
flatpak install flathub io.github.dosbox-staging
flatpak install flathub net.sf.VICE
flatpak run --filesystem=/home/kghose/RetroComputing/dosbox io.github.dosbox-staging
flatpak run --filesystem=/home/kghose/RetroComputing/c64/ net.sf.VICE
flatpak run org.mozilla.firefox
flatpak info --show-permissions org.mozilla.firefox
fwup is the easiest but may not have the most up to date firmware from the manufacturer. Follow the basic usage flow described on the project page.
fwupdmgr get-updates
fwupdmgr update
Manufacturers may put out a bootable image. You can use dd
to create a
bootable USB (steps are noted on this page).
From ask Ubuntu
sudo apt-get autopurge snapd
sudo apt-mark hold snapd
Follow the instructions on the Firefox page