Skip to content

Commit e68df9e

Browse files
author
Your Name
committed
Fixed Typo in Readme file
1 parent 59ae726 commit e68df9e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,19 @@ Adhost2 is a script that updates the /etc/hosts file on a Linux system with a li
1313
Run the script with sudo privileges:
1414

1515
```bash
16-
sudo ./adhost2
16+
sudo ./adhost2.sh
1717
```
1818

1919
If 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

2525
To 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

0 commit comments

Comments
 (0)