Advertisement
ibi

my.bash_aliases

ibi
Dec 15th, 2021 (edited)
591
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.80 KB | None | 0 0
  1. # inbi_vars
  2. HISTTIMEFORMAT='%F_%T '
  3.  
  4. # inbi_alias
  5. alias alu='apt list --upgradable'
  6. alias aptl='apt list'
  7. alias apts='apt show'
  8. alias aptu='sudo apt update --allow-releaseinfo-change'
  9. alias aptc='ls -lh /var/cache/apt/'
  10. alias l='ls -lts -h'
  11. alias ll='ls -alFh --time-style=long-iso'
  12. alias lr='ls -lR'
  13. alias lf='ls -lAXp | grep -v /'
  14. alias h='history'
  15. alias hf='history | grep'
  16. alias k='/opt/kit/k'
  17. alias r='ranger'
  18. alias f='fdfind -Hl'
  19. alias s='sensors'
  20. alias nali='nano ~/.bash_aliases && . ~/.bash_aliases'
  21. alias lali='less ~/.bash_aliases'
  22. alias dali='diff -s ~/.bash_aliases /mnt/fritzbox/conf/linux/.bash_aliases'
  23. alias md='mkdir -pv'
  24. alias rd='rm -dIrv'
  25. alias ..='cd ..'
  26. alias ...='cd ../..'
  27. alias ....='cd ../../..'
  28. alias cdr='cd /mnt/ramdisk'
  29. alias cdb='cd ~/bat'
  30. alias dfd='df -hl -x tmpfs && df -hl | grep ramd'
  31. alias du1='du -h -d 1'
  32. alias du2='du -h -d 2'
  33. alias d='du -hc'
  34. alias ver='hostnamectl status'
  35. alias mem='free -ht'
  36. alias list='head -v -n200'
  37. alias chownroot='sudo chown -Rv --preserve-root root:root'
  38. alias c='ncal -b3wM'
  39. alias func='declare -F'
  40. alias rot13="tr 'A-Za-z' 'N-ZA-Mn-za-m'"
  41. alias sysinf='sudo inxi -v5xrc0y120'
  42. alias rarr='rar a -r -m5 -s -tl -y'
  43. alias 7zz='7z a -r -mx7 -stl -y'
  44. alias zipp='zip -r -o'
  45. alias tolowercase='rename -d -v "y/A-Z/a-z/"'
  46. alias rensafe='rename -d -v "y/ /_/"'
  47. alias bigfile='find . -type f -printf "%s\t%p\n" | sort -nr | head'
  48. alias tschck='timedatectl show-timesync --all && systemctl status systemd-timesyncd'
  49. alias ytdl='yt-dlp --restrict-filename --embed-metadata'
  50.  
  51. # inbi_functions
  52. mcd() { mkdir -p $1 && cd $1 ;}
  53. ff()  { find . -iname $1 ;}
  54. ffcp() { find . -iname $1 -exec cp -v "{}" $2 \;;}
  55. dud() { du -h -d $1 ;}
  56. umntcifs() { sudo umount -a -v -t cifs -l ;}
  57. chkinst() { cat /var/log/dpkg.log | grep " install " ;}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement