I used sudo to add a file to /usr/local/bin .

How now to remove the file from there?

  • Well, probably sudo rm / usr / local / bin / <filename> - carapuz
  • Probably not the best advice for a newbie, but I’m just doing sudo bash to work as a root (in extreme cases rearrange the system) - avp
  • Thank! It is necessary to read a shorter book. I have a lot of questions) - Sokolov.G

1 answer 1

in the same way - "using sudo":

 $ sudo rm /usr/local/bin/файл 
  • Thank. I decided to read the Basics of Lunux from the founder of Gentoo. And then I just have a lot of stupid questions) - Sokolov.G