Newer
Older
# digx
digx - bash function to dig out more details about a domain.
## 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.
## 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`