this post was submitted on 12 Jan 2025
1157 points (98.1% liked)

memes

10924 readers
3277 users here now

Community rules

1. Be civilNo trolling, bigotry or other insulting / annoying behaviour

2. No politicsThis is non-politics community. For political memes please go to [email protected]

3. No recent repostsCheck for reposts when posting a meme, you can only repost after 1 month

4. No botsNo bots without the express approval of the mods or the admins

5. No Spam/AdsNo advertisements or spam. This is an instance rule and the only way to live.

Sister communities

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 9 points 2 days ago (1 children)

Wouldn't that path only resolve if those intermediate directories exist? I thought bash had to crawl the path to resolve it

[–] [email protected] 4 points 2 days ago* (last edited 2 days ago) (1 children)

Yeah, that's what I meant with folders.

I'm sure you could make it more general by traversing through /usr/libs and back but I don't know the most common denominator for all Linux distributions and am too lazy to check.

[–] [email protected] 4 points 1 day ago

Its a good idea, but I think you'd limited to messing /tmp or /var/tmp, as anything else would trigger a "I'm sorry response"