-
Notifications
You must be signed in to change notification settings - Fork 0
/
.bash_aliases
executable file
·70 lines (70 loc) · 2.54 KB
/
.bash_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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
alias feh="feh --recursive --auto-zoom --scale-down"
alias sandbox="firejail --noprofile --whitelist=/home/awcator/Downloads --whitelist=/home/awcator/.renpy --whitelist=~/.config/unity3d/ --seccomp --caps.drop=all --net=none"
alias htop="htop -s PERCENT_MEM -t"
alias la="ls -a"
alias diff="diff --color -u"
alias cluster_name="kubectl config view --minify -o jsonpath='{.clusters[].name}'"
alias k="kubectl"
alias gedit="gedit 2>/dev/null "
alias jshell='/usr/lib/jvm/java-12-openjdk/bin/jshell'
alias e="echo"
alias refresh=" sudo sh -c 'echo 3 >/proc/sys/vm/drop_caches'"
alias cd3="cd ../../../"
alias hex2asci="xxd -r -p"
alias httpserver="python -m http.server"
alias gdb="gdb -q"
alias range="seq"
alias time="date +'%I:%M %p'"
alias c="clear && tmux clear-history"
alias bri2="sudo nvim /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1/intel_backlight/brightness"
alias lol="ls -loh"
alias bri="sudo nvim /sys/devices/pci0000:00/0000:00:02.0/drm/card1/card1-eDP-1/intel_backlight/brightness"
alias wifi="nmcli d wifi list"
alias dc="steghide extract -sf"
alias hakai="shred -n 5 -u -v -z -f "
alias clr=" clear && tmux clear-history"
alias cler="clear && tmux clear-history"
alias clear="clear && tmux clear-history"
alias xcp="xclip -selection c -o"
alias servers="systemctl status httpd mariadb;nmap -sT localhost"
alias s="sudo"
alias hiddenfiles="ls -d .!(|.)"
alias usbwrite="sudo dd bs=512M if=file.iso of=/dev/sdX"
alias o.="xdg-open . "
alias ungz="gunzip -k "
alias unbz="bzip2 -dk "
alias r="cd ~/.recycle"
alias ports='netstat -tulanp'
alias grep="grep -ian --color=auto"
alias maek='make'
alias du='du -ch'
alias df='df -h'
alias onn='sudo -su awcator reboot'
alias off="poweroff"
alias incognito='export HISTFILE=/dev/null'
alias ..="cd .."
alias h="history"
alias untar='tar -xvf'
alias o="xdg-open $1"
alias xc='xclip -selection clipboard -i '
alias ok="ping google.com"
alias cls="clear"
alias pacman="sudo pacman"
alias cd..="cd .."
alias l="ls"
alias ll="ls -lh"
alias lla="ls -lha"
alias rm="mv -t ~/.recycle -f "
alias vi="nvim -O"
alias cd2="cd ../../"
alias su="sudo su"
alias x="exit"
alias mysql='mycli -u root -p dev'
alias sql='mycli -u root -p dev -D rhythm'
alias sudo='sudo '
alias whomai='whoami'
#alias mybox='ssh -Y -i ~/.ssh/ams-hsop-keypair.pem -o ServerAliveInterval=60 [email protected]'
alias mybox='ssh -Y -o ServerAliveInterval=60 -i /home/awcator/.ssh/awcator_aws.keypair.pem [email protected]'
alias ??='gh copilot suggest'
alias shitgitundoncommits="git reset --hard HEAD~2"
alias shitgitsqushcommits="git reset --soft HEAD~5"