You need to remove the trailing slash, because a link is a file, but the shell interprets it as a directory
this post was submitted on 12 Aug 2023
49 points (96.2% liked)
linuxmemes
20909 readers
2653 users here now
I use Arch btw
Sister communities:
- LemmyMemes: Memes
- LemmyShitpost: Anything and everything goes.
- RISA: Star Trek memes and shitposts
Community rules
- Follow the site-wide rules and code of conduct
- Be civil
- Post Linux-related content
- No recent reposts
Please report posts and comments that break these rules!
founded 1 year ago
MODERATORS
The fun part is that tab completion insists on putting the slash there.
have you tried it?
Just use rm -rf and live on the edge.
Use unlink
instead
Perfect time to reinstall the OS
/s
rm -rf Stable-diffusion/