this post was submitted on 05 Jun 2025
56 points (92.4% liked)
Linux
54860 readers
603 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 6 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
If ai gives you something to try it's better than nothing. But I was going to suggest another distro if someone else hadn't. Thanks ai...
Doing nothing is way better than running random commands suggested by AI, or anyone for that matter, if you don't know what it does. I've seen AI suggest to run
rm -rf ~/
, which is obviously never a good idea.What would that command do? Not obvious to this newb. Format everything?
I think there may be some safeguards in place so that it doesn't, but yeah. It reads something like (rm) remove/delete, (-rf) remove/delete the folder, (~/) do this recursively until you hit root (Unix equivalent of C:).
I may have some of that parsed incorrectly, I haven't taken the plunge into Linux quite yet. As soon as I figure out what I did wrong in my current hardware build I will install Linux. Probably Mint.
It wouldn't remove /.
(r)e(m)ove
-(r)ecusively
(f)orce
~ /home/thisuser
/ just reinforces that we are referring to the ~ directory itself
Thanks! It's been a while since I've used Linux terminal commands.