Some aliases and nice bash prompt
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
export PS1='[\u@\H \w]\$ ' | |
# Alias | |
alias show.tables="pfctl -vvsTables" | |
alias show.badhosts="pfctl -t badhosts -T show" | |
alias show.pf="tcpdump -n -e -ttt -i pflog0" | |
alias show.pflog="tcpdump -n -e -ttt -r /var/log/pflog" | |
alias gh="history|grep" | |
alias add.badhosts="pfctl -t badhosts -T add" | |
alias reload.pf="pfctl -f /etc/pf.conf" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment