cd ~
vim .bashrc
alias cdt='cd /var/log/test-server'
alias tka='tail -f /var/log/test-server/1111-service.log'
alias vka='vim /var/log/test-server/1111-service.log'
alias cka='cat /var/log/test-server/1111-service.log'
alias tdevice='tail -f /var/log/test-server/test-device.log'
alias vdevice='vim /var/log/test-server/test-device.log'
alias tconsumer='tail -f /var/log/test-server/test-consumer.log'
alias vconsumer='vim /var/log/test-server/test-consumer.log'
alias tdata='tail -f /var/log/test-server/test-iot-data-service.log'
alias vdata='vim /var/log/test-server/test-iot-data-service.log'
alias thttp='tail -f tail -f /var/log/test-server/test-iot-gateway-https.log'
alias vhttp='vim tail -f /var/log/test-server/test-iot-gateway-https.log'
alias tmqtt='tail -f tail -f /var/log/test-server/test-iot-gateway-mqtt.log'
alias vmqtt='vim tail -f /var/log/test-server/test-iot-gateway-mqtt.log'
source ~/.bashrc