File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -13,19 +13,19 @@ Adhost2 is a script that updates the /etc/hosts file on a Linux system with a li
1313Run the script with sudo privileges:
1414
1515``` bash
16- sudo ./adhost2
16+ sudo ./adhost2.sh
1717```
1818
1919If you want to use a custom host list, specify the file path using the -h option:
2020
2121``` bash
22- sudo ./adhost2 -h /path/to/custom-host-list
22+ sudo ./adhost2.sh -h /path/to/custom-host-list
2323```
2424
2525To uninstall Adhost2 and restore the original /etc/hosts file, run:
2626
2727``` bash
28- sudo ./adhost2 uninstall
28+ sudo ./adhost2.sh uninstall
2929```
3030
3131## Prerequisites
@@ -38,7 +38,7 @@ sudo ./adhost2 uninstall
3838- The script must be run from the hosts directory (hint: from the unzip dir).
3939- If you interrupt the script with Ctrl+C, it will restore the original /etc/hosts file.
4040- The script must be run with sudo privileges.
41- - The default host list is /usr/share/adhost/adhost2.
41+ - The default host list is /usr/share/adhost/adhost2.sh.
4242
4343## License
4444
You can’t perform that action at this time.
0 commit comments