-
Notifications
You must be signed in to change notification settings - Fork 0
/
.aliases
40 lines (32 loc) · 820 Bytes
/
.aliases
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# aliases
alias ll='ls -lisah'
alias getpass='openssl rand -base64 20'
alias c='clear'
alias hs='history | grep'
alias sha='shasum -a 256 '
# Processes
alias psg='ps auwx | grep '
# File system
alias gorepos='cd /Users/$HOME/Repos'
alias df='df -h'
alias 1cd='cd ..'
alias 2cd='cd ../../'
alias 3cd='cd ../../../'
alias 4cd='cd ../../../../'
# Time
alias getunixtime='date +%s'
alias convertunixtime='date -j -r'
# Network aliases
alias ping='ping -c 5'
alias speed='speedtest-cli --simple'
alias ipe='curl ifconfig.co'
alias ipi='ipconfig getifaddr en0'
# Fedora
# alias yum='dnf'
# macOS
alias ls='/opt/homebrew/bin/gls -h --group-directories-first --color=auto'
alias yum='brew'
# Kubernetes
alias k='oc'
alias kubectl='oc'
alias k-clean-namespace='kubectl delete pods --field-selector=status.phase!=Running'