LINUXOPOLIS # 2019-11-15 ~ ALIASES

25일 전

ALIASES

Building a Linux Habitat
Published with SteemPeak
home

ScreenshotScreenshot by Willi Glenz

SUMMARY

01 ALIASES ............................................................. 2019-11 new
02 configuration ....................................................... 2019-11 new



#02

02 CONFIGURATION
$ touch ~/.bash_aliases
$ vim ~/.bashrc
  if [ -f ~/.bash_aliases ]; then
      . ~/.bash_aliases
  fi


01 ALIASES
alias a='vim ~/.bash_aliases && source ~/.bashrc'
alias as='clear; echo; sudo arp-scan --localnet; echo'
alias ba='clear; curl rate.sx/bat@30d'
alias bc='clear; curl rate.sx/btc@30d'
alias br='/snap/bin/brave 2> /dev/null &'
alias c='clear; ncal -3'
alias cl='clear; neofetch; cowsay -W 131 -f moose $(cat ~/bin/oneliner.txt | shuf -n1); echo'
alias df='clear; echo; df -hT --exclude=squashfs; echo; df -i --exclude=squashfs; echo'
alias ff='~/Apps/firefox 2> /dev/null &'
alias g='glances'
alias gb='\cd ~/bin; clear; echo; lsd -l; echo'
alias gd='\cd ~/Downloads; clear; echo; lsd -l; echo'
alias ge='\cd /etc; ranger'
alias gh='\cd; clear; echo; ls -l; echo'
alias gm='clear; \cd ~/Music/; echo; ls -l; echo'
alias gp='clear; \cd ~/Phoenix; echo; ls -l; echo'
alias h='clear; echo; history 30; echo'
alias i7='inxi -v7 |tee ~/.inventory.txt'
alias l='clear; echo; ls -l; echo'
alias m='mpg123 -zvC ~/Music/mp3/*'
alias nd='clear; sudo ncdu -x /'
alias r='ranger'
alias rs='rsync -avzP --delete --stats --exclude-from "/home/user1/.exclude.txt"  /home/user1/ /media/user1/BACKUP/'
alias s='systemctl status'
alias sn='sntop'
alias u='clear; echo; sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade; sudo apt-get autoremove -yy'
alias uf='clear; sudo ufw status verbose'
alias w='clear; curl wttr.in'
alias yt='sudo -H pip3 install --upgrade youtube-dl'
$ vim ~/.bash_aliases
Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
STEEMKR.COM IS SPONSORED BY
ADVERTISEMENT