Created
October 3, 2017 08:32
-
-
Save edlvj/fd875b5b98f09c4defa4e0119000f9aa to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "Computers in domain:" | |
smbtree -N | |
echo "----IP Address:" | |
hostname --ip-address | |
echo "----MAC Address:" | |
cat /sys/class/net/enp1s0/address | |
echo "----Dns" | |
nslookup 127.0.0.1 | |
echo "----Routes" | |
netstat -r | |
echo "----Packages and Protocols" | |
netstat --inet |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment