Article From:https://www.cnblogs.com/maxlon/p/9685508.html

 

alias Defined variables

.bash_profile

 

Add to

 

if [ -f ~/.bash_aliases ]; then

. ~/.bash_aliases

fi

 

alias dir-event=’cd /opt/source/gitsource/’

alias dir-admin=”cd /opt/source/gitsource/”

 

alias a-showlog-resin=’tail -f /resin4/log/stdout.log’

alias a-restart-resin=’service resin restart’

 

Variable name
Variable definition
dir-eventCatalogues
dir-adminTournament backstage directory
a-restart-resinresinReboot service

a-showlog-resin

resinService log

Leave a Reply

Your email address will not be published. Required fields are marked *