find . -type d ! \( -readable -executable \) -prune -o -type f -not -path './.*/*' -
UPDATE: broken in current (2026-06-30) debian; still throws a bunch of no-shit-sherlock “errors” in the way.
or, install fd :) fd 'scratch\.md /
/etc/motd is what gets displayed when you log in over ssh. there's a thing called tiv that will help you make nice login images.
/etc/ssh/sshd_config, set PasswordAuthentication to yessudo service ssh restarttouch /home/serveruser/.ssh/authorized_keys; chmod 600 authorized_keys
cat clientid.pub >> /home/serveruser/.ssh/authorized_keys
sudo journalctl -u gitea | tail -n100
people act like dd is so fucking difficult, it's not. (probably need root for most of these)
lsblk. today we're saying our target drive is /dev/sdb. be aware it will let you try, even if there isn't enough room on the disk.umount /dev/sdb*mkfs.vfat /dev/sdb. mine complained that there were already partitions on it, but let me proceed if I used -I.sudo dd if=name-of-iso.iso of=/dev/sdb status=progressi have a disk on /dev/sdc that I'm formatting for 1 big file system.
lsblk - find the one you wantsudo fdisk /dev/sdco - give it a DOS label. n - make a new partitionp - primaryw - write changes.sudo mkfs.ntfs -L MyStick /dev/sdc1 - make an ntfs filesystem, tell the device its Label is MyStick.i bet if I'm looking up the bootable flash drive commands I want this: https://github.com/linux-surface/linux-surface/wiki/Installation-and-Setup#Debian--Ubuntu
date -d @1621607851 +'%Y-%m-%d-%H-%M-%S'