10
you are viewing a single comment's thread
view the rest of the comments
[-] Legianus@programming.dev 4 points 3 days 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 1 points 3 days 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 1 points 3 days ago
[-] graycube@lemmy.world 2 points 3 days 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 1 points 3 days ago

Thanks. That makes two different rm commands.

[-] LoveEspresso@retrofed.com 1 points 3 days 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 (100.0% liked)

Explain Like I'm Five

21464 readers
26 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