Why can't i remove this file

[fj@whitewolf io.elementary.appcenter]$ ls
appcenter.hiddenapps
[fj@whitewolf io.elementary.appcenter]$ sudo -Rm appcenter.hiddenapps
[sudo] password for fj:
sudo: you are not permitted to use the -R option with appcenter.hiddenapps
[fj@whitewolf io.elementary.appcenter]$

idk what to do or really why i can’t delete that file.

this is the endeavorOS forum, not the elementaryOS forum.

the command to remove files is rm

rm -rf .config for example deletes the .config folder (PLZ DON’T EXECUTE THIS COMMAND)

BUT if you are trying to remove an app use the package manager.

i am in endeavourOS :slight_smile:

that is the command i excuted when it gave me that error

sudo: you are not permitted to use the -R option with appcenter.hiddenapps

rm -rf

not

sudo -rm appcenter.hiddenapps

but rather

sudo rm -rf appcenter.hiddenapps

be careful with rm -rf!

1 Like

thank you so much!!!

you are welcome.

next time try reading the documentation though.

man rm

1 Like

wise advice, BTW i really do enjoy pantheon on endeavouros i know it’s weird but personally LOVE IT lol

i3 looks cool but my old man brain cannot adapt to something new easily

and don’t forget that *nix commands

  • usually don’t start with a capital letter
  • never start with a dash
  • are also usually not full words, like how rm is ReMove.
1 Like

ahhhhhh interesting

Took that from the Arch Wiki.

(psst, the Arch Wiki is great documentation)

1 Like

touche

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.