the-book-of-secret-knowledge/tmp/lib/aliases/main
trimstray dd052fdb35 project reorganization
- signed-off-by: trimstray <trimstray@gmail.com>
2018-06-24 10:34:17 +02:00

25 lines
1.4 KiB
Plaintext

alias ssh_nonpass='ssh -o PreferredAuthentications=password -o PubkeyAuthentication=no'
alias xfce.restart.panel='xfce4-panel -r'
alias cpu.low='cpupower frequency-set -d'
alias cpu.high='cpupower frequency-set -u'
alias cpu.show='cpupower frequency-info'
alias git.commit='git add . && git commit -m "uncommited changes"'
alias claminit='/usr/bin/clamscan --suppress-ok-results --block-encrypted --database=/home/admin/.clamtk/db --scan-mail=yes --scan-archive=yes --max-scansize=500M --exclude-dir=^/home/admin/.clamtk/viruses --exclude-dir=^/sys/ --exclude-dir=^/dev/ --exclude-dir=^/proc/ --follow-dir-symlinks=1 --follow-file-symlinks=1 --detect-broken --recursive=yes'
alias ssh.pentest-kali='ssh 139.59.154.194 -p 9000'
alias ssh.ext-web1='ssh 46.101.164.125 -p 8200'
alias l='ls -lFh --group-directories-first' #size,show type,human readable
alias la='ls -lAFh --group-directories-first' #long list,show almost all,show type,human readable
alias lr='ls -tRFh --group-directories-first' #sorted by date,recursive,show type,human readable
alias lt='ls -ltFh --group-directories-first' #long list,sorted by date,show type,human readable
alias ll='ls -l --group-directories-first' #long list
alias git.reft="git pull origin testing && git fetch --all && git fetch --prune --tags"
alias git.refm="git pull origin master && git fetch --all && git fetch --prune --tags"
alias show.dns="ll /etc/dnsmasq.d/templates"
alias show.vpn="ll /etc/netrog/vpn"