Aaron Rainbolt on Nostr: New fear unlocked: Linux commands that assume you're in some specific directory even ...
New fear unlocked: Linux commands that assume you're in some specific directory even if you pass an absolute path to them.
So far only `find` and `sha512sum` have bitten me this way, but they bite *hard*!
#linux #bash #programming #posix #unix
Published at
2025-01-07 23:37:20Event JSON
{
"id": "e9857e781d0fa888f112749368ddadb94b4d96e08afdaf4369b2d6b9b847eecc",
"pubkey": "b764dfce4744790ecaba851b29af6750c60a24d3792a14a8912039f0fb5becf1",
"created_at": 1736293040,
"kind": 1,
"tags": [
[
"t",
"linux"
],
[
"t",
"bash"
],
[
"t",
"programming"
],
[
"t",
"posix"
],
[
"t",
"unix"
],
[
"proxy",
"https://theres.life/users/arraybolt3/statuses/113789700689607525",
"activitypub"
]
],
"content": "New fear unlocked: Linux commands that assume you're in some specific directory even if you pass an absolute path to them.\n\nSo far only `find` and `sha512sum` have bitten me this way, but they bite *hard*!\n\n#linux #bash #programming #posix #unix",
"sig": "ad6df5e4da9ce6f221fc56f1c5e82a40b2358c60c00fe1ad465c9332c0d210b4cd0f412e1e518e2e01dd1cbc3a0fd34016c4966c3ee35e0ece9c7dbfef63a254"
}