Answer the question
In order to leave comments, you need to log in
How to open hosts folder as administrator via command line?
wanted to change the localhost name to, say, site.local. When I try to save - writes that there are not enough rights. What do you need to write on the command line to open etc/hosts through sublime?
Answer the question
In order to leave comments, you need to log in
Because when you write a = 2 without declaring it, the value is written to the global variable a. If inside functions we replace a = 2 with let a = 2, the behavior changes.
If Linux, then sudo nano /etc/hosts
Windows, then the easiest way is to just run sublime from the admin, well, or a notepad from the admin
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question