Skip to content
README.md 1 KiB
Newer Older
Dimitri Enns's avatar
Dimitri Enns committed
# digx
digx - bash function to dig out more details about a domain.

Dimitri Enns's avatar
Dimitri Enns committed
## apps
Please make sure you have installed:
- [x] dig
- [x] whois
- [x] awk
- [x] xargs
- [x] wc
most of these should be installed by default. it depends with your distro.
Dimitri Enns's avatar
Dimitri Enns committed

## BashFunction
Just open your `.bashrc` or `.bash_functions` file and paste the content from [digx_function](https://git.niih.de/de/digx/-/blob/main/digx_function) in it.
Reload your bash settings (`source .bashrc` shoud do it or just log out and log in), and then you can call it using `digx domain.tld`

## Standalone Script
You can also place the [digx.sh](https://git.niih.de/de/digx/-/blob/main/digx.sh) file in /usr/local/sbin/ on you machine (maybe need to make it executatable too) and just call the script using `digx.sh domain.tld`
Dimitri Enns's avatar
Dimitri Enns committed

## Screnshots
![screenshot_25-06-2022_15-46-16](/uploads/ad058c0325ab2c21818e33be84094e97/screenshot_25-06-2022_15-46-16.png)
![screenshot_25-06-2022_15-46-28](/uploads/58aee21c442999d9e8223e695587fbf2/screenshot_25-06-2022_15-46-28.png)