For me, my high bar that I have yet to beat, was the time I pivoted the running OS (ubuntu) into RAM over SSH so I could unmount and image the boot drive without rebooting and loading a live USB (Which would have required a ticket with my provider to enable IPMI)

  • Samueru_sama@programming.dev
    link
    fedilink
    English
    arrow-up
    1
    ·
    4 hours ago

    If you have binary that is hardcoded to look for some files/libs in a certain path, you can overwrite that path with sed directly lol. You just need to make sure to keep the string length the same.

    sed -i s|/usr|././|g will change /usr for the current working dir for example.