- Edited
I use SSH keys so I don't have to type passwords to login to systems that I need to regularly. So these aliases make it even quicker. username, IP and mac addresses have been redacted:
ssh:
alias lexi='ssh username@x.x.x.x'
alias squid='ssh username@x.x.x.x'
alias znc='ssh username@x.x.x.x'
alias tbox='ssh username@x.x.x.x'
Turn on system:
alias wtbox='wol 00:00:00:00:00:00'
Sometimes I'll reboot the server my irc bouncer is on and need to start the service again:
alias rsznc='ssh username@x.x.x.x znc'
Get ip address:
alias getip='wget http://ipecho.net/plain -O - -q ; echo'
System temps:
alias gettemp="sensors && nvidia-smi -a -q | grep -i \"GPU Current Temp\""
Get file permissions in octal:
alias chkoctal='stat -c "%a %n" *'
Backup home folder to external usb drive:
alias rsynchome="rsync -avh --delete --exclude-from='/home/username/.rsyncexclude' /home/username /mnt/Backup/Home"
Update music collection on other system:
alias rsyncpushmusic="rsync -avh --delete /mnt/DataDrive/Music username@x.x.x.x:/mnt/Data/"
Solus packaging:
alias fetchYml="$HOME/repository/common/Scripts/yauto.py"
alias updatePackage='/usr/share/ypkg/yupdate.py'