-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_bash_alias
More file actions
15 lines (15 loc) · 793 Bytes
/
_bash_alias
File metadata and controls
15 lines (15 loc) · 793 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
alias ll='ls -alFh'
alias la='ls -A'
alias l='ls -CF'
alias venv='. .venv/bin/activate'
alias django-shell='venv && ./manage.py shell && deactivate'
alias django-dbshell='venv && ./manage.py dbshell && deactivate'
alias prettyjson='python3 -m json.tool'
alias myipv4='dig @resolver1.opendns.com ANY -4 myip.opendns.com +short'
alias myipv6='dig @resolver1.opendns.com ANY -6 myip.opendns.com +short'
alias dockerps='docker ps --format "table {{.ID}}\t{{.Names}}\t{{.Status}}\t{{.Image}}"'
alias sudomysql='sudo mysql --defaults-file=/etc/mysql/debian.cnf'
alias find-content='grep -rniI -e'
alias salt='dd if=/dev/urandom bs=32 count=1 status=none | base64'
alias password='dd if=/dev/urandom 2>/dev/null | tr -dc "A-Za-z0-9!@#$%^&*" | head -c16; echo ""'
alias watch-temp='watch -n1 sensors'