![]() ![]() Our examples mentioned blocking and redirecting distracting sites in a work environment. As we mentioned earlier, make sure to flush your DNS cache if you notice that your new mappings aren’t working properly. When you’re done making changes, press Control-X to exit the editor, Y to save, and Return to overwrite the existing hosts file. A practical application When can the rm -R command come in handy?īecause we launched Nano using sudo, any changes will be authenticated and saved directly to the original hosts file, without the need to copy it outside of its home directory. ![]() This can be annoying, but unless you’re really sure you want to delete all those files, it’s probably best to be safe. But, as you probably suspect, you can use the -i flag for protection: rm -iR Archives This will ask you to confirm the deletion of each item. So just run the command like this: rm -R Archives Remember, this deletion is final.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |