2022-06-30 20:11:04 +02:00
|
|
|
# Alias
|
|
|
|
|
|
|
|
```
|
2022-11-07 09:08:04 +01:00
|
|
|
alias uu='apt-get update && apt-get upgrade'
|
|
|
|
|
2022-07-01 08:27:27 +02:00
|
|
|
alias dce='vim docker-compose.yml'
|
2022-06-30 20:11:04 +02:00
|
|
|
alias dcu='docker compose up -d'
|
2022-07-01 08:27:27 +02:00
|
|
|
alias dcd='docker compose down'
|
2022-06-30 20:11:04 +02:00
|
|
|
alias dcs='docker compose stop'
|
2022-07-01 08:27:27 +02:00
|
|
|
alias dcr='docker compose restart'
|
2022-06-30 20:11:04 +02:00
|
|
|
alias dcp='docker compose pull'
|
|
|
|
alias dcl='docker compose logs -f'
|
2024-03-01 15:20:32 +01:00
|
|
|
alias dcupdate='docker compose up -d --pull always'
|
2022-07-02 11:54:23 +02:00
|
|
|
alias dsp='docker system prune -a -f'
|
2022-07-01 08:27:27 +02:00
|
|
|
|
2022-10-01 22:31:58 +02:00
|
|
|
alias tc='vim /etc/teleport.yaml'
|
|
|
|
alias tr='systemctl restart teleport'
|
|
|
|
alias ts='systemctl stop teleport'
|
|
|
|
alias tl='systemctl status teleport'
|
2022-06-30 20:11:04 +02:00
|
|
|
```
|
2022-10-06 08:29:43 +02:00
|
|
|
|
|
|
|
or
|
|
|
|
|
|
|
|
```
|
2022-11-07 09:08:04 +01:00
|
|
|
alias uu='sudo apt-get update && sudo apt-get upgrade'
|
|
|
|
|
2022-10-06 08:29:43 +02:00
|
|
|
alias dce='vim docker-compose.yml'
|
|
|
|
alias dcu='sudo docker compose up -d'
|
|
|
|
alias dcd='sudo docker compose down'
|
|
|
|
alias dcs='sudo docker compose stop'
|
|
|
|
alias dcr='sudo docker compose restart'
|
|
|
|
alias dcp='sudo docker compose pull'
|
|
|
|
alias dcl='sudo docker compose logs -f'
|
2024-03-01 15:20:32 +01:00
|
|
|
alias dcupdate='sudo docker compose up -d --pull always'
|
2022-10-06 08:29:43 +02:00
|
|
|
alias dsp='sudo docker system prune -a -f'
|
|
|
|
|
|
|
|
alias tc='sudo vim /etc/teleport.yaml'
|
|
|
|
alias tr='sudo systemctl restart teleport'
|
|
|
|
alias ts='sudo systemctl stop teleport'
|
|
|
|
alias tl='sudo systemctl status teleport'
|
|
|
|
```
|