added alias nmap to sudo nmap
This commit is contained in:
parent
1c36e426ff
commit
7a60ec4ccb
5
.bashrc
5
.bashrc
|
@ -73,7 +73,10 @@ alias grep='grep --color=auto'
|
|||
alias lsblk='lsblk -o NAME,FSTYPE,SIZE,TYPE,MOUNTPOINT'
|
||||
|
||||
# Always use sudo when using systemctl. Pairs well with passwordless sudo for systemctl.
|
||||
alias systemctl='sudo --preserve-env systemctl'
|
||||
alias systemctl='sudo -E systemctl'
|
||||
|
||||
# Always use sudo when using nmap.
|
||||
alias nmap='sudo -E nmap'
|
||||
|
||||
# I'm tired of managing weechat configs and multiple nicks
|
||||
# Client depends: ssh, mosh, correct ssh host configuration
|
||||
|
|
Loading…
Reference in New Issue