How to edit Mac Hosts File

แชร์
ฝัง

ความคิดเห็น • 23

  • @MatthewFurman
    @MatthewFurman 2 ปีที่แล้ว +5

    Excellent video, exactly what I was looking for. Clear, concise, learnable. Thank you very much.

  • @zakk19
    @zakk19 2 ปีที่แล้ว +19

    sudo nano /etc/hosts
    sudo killall -HUP mDNSResponder

  • @GooseTheDrummer
    @GooseTheDrummer ปีที่แล้ว +1

    Exactly what I needed and nothing else, thanks for this video!

  • @TheCocoaDaddy
    @TheCocoaDaddy 4 หลายเดือนก่อน

    Great video! Does this approach work on the latest version of macOS? Also, would a reboot flush the DNS cache? Thanks!

  • @claudio_sergiacomo
    @claudio_sergiacomo 8 หลายเดือนก่อน +1

    Can I block specific IP addresses that I don't want my computer to get in touch with?

  • @HuntersStore
    @HuntersStore ปีที่แล้ว

    Thank you so much, I tried many ways but it didn't work, until I watched your video

  • @tjasa993
    @tjasa993 5 หลายเดือนก่อน

    Hi!
    Thank you for your tutorial! I have followed the steps and wrote new lines (After I press control O it says that the lines are written). When I exit and open the hosts file again, these new lines are not there. Do you maybe know why not?

  • @kylestremick5108
    @kylestremick5108 ปีที่แล้ว +1

    Is nano stock in mac? I have tried this for a lot of attempts and it doesnt show a word, so is nano stock?

  • @WellnessYogaChristine
    @WellnessYogaChristine 2 ปีที่แล้ว

    Great video! Any idea why my Mac won't let me delete the two temporary records in my host file once I'm done? I see the two temporary records listed in my host file, I move my cursor to the end of the text, but cannot remove those records by pressing the delete button 😳. It appears the text is not editable Any suggestions?

    • @WellnessYogaChristine
      @WellnessYogaChristine 2 ปีที่แล้ว

      I disabled the DNS over HTTPS setting in my Chrome browser, but it still won't let me edit my host file.

  • @ekvad2353
    @ekvad2353 8 หลายเดือนก่อน

    "Cannot open file for writing: Operation not permitted" please, if u can, help )

  • @ShopisWelt
    @ShopisWelt 5 หลายเดือนก่อน

    You are awesome. Thank you!

  • @VisionsOfGoldenAge
    @VisionsOfGoldenAge 3 หลายเดือนก่อน

    Thank you, useful!

  • @gikunjucollins
    @gikunjucollins 7 หลายเดือนก่อน

    Thank you for this.

  • @mabror1
    @mabror1 ปีที่แล้ว

    Thanks man, it worked.

  • @programmernewbe
    @programmernewbe 2 ปีที่แล้ว

    doesn't work for me.
    still readonly file..

  • @olivier4381
    @olivier4381 ปีที่แล้ว

    Thanks, worked great!

  • @roheazfurquan2182
    @roheazfurquan2182 ปีที่แล้ว

    you are the best thanks

  • @فيصلالعنزي-ت2ر
    @فيصلالعنزي-ت2ر 2 ปีที่แล้ว

    Thank you

  • @izzajuanito8905
    @izzajuanito8905 ปีที่แล้ว

    hi, i try using the sudo nano hosts command and it says im not in sudoers files

    • @Screamer1989
      @Screamer1989 9 หลายเดือนก่อน

      did you resolve the issue?
      could you elaborate what you mean by "im not in sudoers files" ?

    • @TheCocoaDaddy
      @TheCocoaDaddy 4 หลายเดือนก่อน

      @@Screamer1989 "sudoers" is a file containing the users allowed to run the "sudo" command. If your account is the *only* account on the system, it should be in the "sudoers" file already. If it's not, you should be able to add your user to that file. I don't have access to macOS, so I can't tell you how to add it but there should be plenty of tutorials out there on doing that. I use Linux a lot so I'm very familiar with the 'sudoers' file, in general. :)