User Tools

Site Tools


sysadminery:nix_misc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
sysadminery:nix_misc [2023/06/04 15:03] – created - external edit 127.0.0.1sysadminery:nix_misc [2025/01/24 01:28] (current) adam
Line 4: Line 4:
 [[https://unix.stackexchange.com/questions/87634/exclude-paths-that-make-find-complain-about-permissions/87850#87850|from]] [[https://unix.stackexchange.com/questions/87634/exclude-paths-that-make-find-complain-about-permissions/87850#87850|from]]
  
-    find . -type d ! \( -readable -executable \) -prune -o -type f -not -path './.*/*' -print +    find . -type d ! \( -readable -executable \) -prune -o -type f -not -path './.*/*'
-    + 
 +or, install [[https://github.com/sharkdp/fd|fd]] :)  ''fd 'scratch\.md /'' 
 ====== fun customizations ====== ====== fun customizations ======
  
Line 27: Line 29:
 <code>sudo journalctl -u gitea | tail -n100</code> <code>sudo journalctl -u gitea | tail -n100</code>
  
-====== bootable USB ======+====== bootable USB from iso ======
  
 people act like dd is so fucking difficult, it's not. (probably need root for most of these) people act like dd is so fucking difficult, it's not. (probably need root for most of these)
Line 49: Line 51:
   - ''w'' - __w__rite changes.   - ''w'' - __w__rite changes.
   - ''sudo mkfs.ntfs -L MyStick /dev/sdc1'' - make an __ntfs__ filesystem, tell the device its __L__abel is __MyStick__.   - ''sudo mkfs.ntfs -L MyStick /dev/sdc1'' - make an __ntfs__ filesystem, tell the device its __L__abel is __MyStick__.
 +
 +====== surface linux ======
 +
 +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
  
 ====== unix epoch to time ====== ====== unix epoch to time ======
  
     date -d @1621607851 +'%Y-%m-%d-%H-%M-%S'     date -d @1621607851 +'%Y-%m-%d-%H-%M-%S'
sysadminery/nix_misc.1685891014.txt.gz · Last modified: 2023/06/04 15:03 by 127.0.0.1