trying to block websites using my Terminal application and I keep getting the command not found prompt
any help?
any help?
nano is a valid editor.
/etc/hosts is a valid directory references, and the hosts file is indeed located there.
But without a space after nano, the string you entered becomes the directory reference nano/etc/hosts and there is no executable file there with that name.
Unix commands are like VERY sharp tools. But inexperienced users who try to reach into that toolbox blindly usually end up cutting their fingers off. There are NO protections from things that WILL hurt you.
Surely there is a better way to accomplish what you want.
The Utility named Terminal presents a UNIX-like terminal Interface. it is for working "under the hood" on the guts of MacOS that are not available for manipulation in the Graphic User Interface.
I think you may have mistaken it for a different terminal program.
If not, what commands are you trying to use to do this blocking?
thanks. no I think I'm understanding it.
I'm using sudo nano/etc/hosts
then it prompts for my password and when I enter it says
sudo: nano/etc/hosts: command not found
well I'd be open to suggestions, all I am trying to do is block certain websites
thanks
Block them from your kids?
or for what purpose?
thanks for your help... the space after nano was the problem! I have succeeded at what I wanted to do.
I appreciate your time.
trying to block websites using my Terminal application and I keep getting the command not found prompt