this post was submitted on 17 Jun 2026
-4 points (40.9% liked)

Explain Like I'm Five

21442 readers
113 users here now

Simplifying Complexity, One Answer at a Time!

Rules

  1. Be respectful and inclusive.
  2. No harassment, hate speech, or trolling.
  3. Engage in constructive discussions.
  4. Share relevant content.
  5. Follow guidelines and moderators' instructions.
  6. Use appropriate language and tone.
  7. Report violations.
  8. Foster a continuous learning environment.

founded 3 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] LoveEspresso@retrofed.com 3 points 6 hours ago (6 children)

You're absolutely right. That's the command i had typed precisely.

Now how to merge the two folders into one ??

I am learning the command line actually.

[–] Legianus@programming.dev 4 points 6 hours ago (5 children)

If they are empty, I would just delete them with rm -r Odin and do the same for Projects, otherwise you coul d for instance move all content of Projects to Odin with mv Projects/* Odin and then rename Odin with the same command mv Odin 'Odin Projects' and then delete the remaining Projects folder

[–] LoveEspresso@retrofed.com 0 points 6 hours ago (3 children)

I removed the two folders using the command that you've taught me, but when i am trying to remove yet another folder, this is what it's showing.

image

[–] LoveEspresso@retrofed.com 0 points 6 hours ago (1 children)
[–] graycube@lemmy.world 2 points 5 hours ago (1 children)

Files have a concept of ownership and have permissions on them. Some permissions can stop you from deleting them. If you own the file you can add a "-f" option to the rm to force it to delete. You can also change the permissions and ownership on files.

[–] LoveEspresso@retrofed.com 0 points 5 hours ago

Thanks. That makes two different rm commands.

load more comments (1 replies)
load more comments (2 replies)
load more comments (2 replies)