this post was submitted on 26 Jun 2025
80 points (95.5% liked)
Linux
8083 readers
1024 users here now
A community for everything relating to the GNU/Linux operating system
Also check out:
Original icon base courtesy of [email protected] and The GIMP
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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.