-10
you are viewing a single comment's thread
view the rest of the comments
[-] LoveEspresso@retrofed.com 3 points 1 day ago

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 1 day ago

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 1 day ago

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 1 day ago
[-] graycube@lemmy.world 2 points 1 day ago

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 1 day ago

Thanks. That makes two different rm commands.

[-] LoveEspresso@retrofed.com 0 points 1 day ago

Thanks. I apply the rm command, and create a new folder afresh.

Actually, the course that i am doing has got many steps missing.

this post was submitted on 17 Jun 2026
-10 points (33.3% liked)

Explain Like I'm Five

21454 readers
98 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