29 lines
1.1 KiB
Plaintext
Executable File
29 lines
1.1 KiB
Plaintext
Executable File
alias ..='cd ..'
|
|
alias ...='cd ../..'
|
|
alias ....='cd ../../..'
|
|
alias .....='cd ../../../..'
|
|
|
|
alias ll='ls -ahlF'
|
|
alias la='ls -Ah'
|
|
alias l='ls -CF'
|
|
alias feh='feh -d --scale-down'
|
|
alias camshot='fswebcam -r 640x480 --jpeg 90 -F 3 -D 1 --no-banner'
|
|
|
|
alias ta='tmux attach'
|
|
alias u='sudo ufw status numbered'
|
|
alias act='sudo systemctl -l -t service --state=active'
|
|
alias fai='sudo systemctl -l -t service --state=failed'
|
|
|
|
alias dss='docker stack services '
|
|
alias dsd='docker stack deploy -c docker-compose.yml '
|
|
|
|
alias dps='docker container ls -a'
|
|
alias di='docker image ls'
|
|
alias dv='docker volume '
|
|
alias dls='docker volume ls'
|
|
alias dip="docker container inspect -f '{{ .NetworkSettings.IPAddress }}'" # call with <container name> or ID
|
|
alias dih="docker container inspect -f '{{ .Config.Hostname }}'" # call with <container name> or ID
|
|
alias dstats="docker stats "'$(sudo docker ps -aq)' # shows stats thingy for all containers
|
|
alias drmsc="docker container ls -a | grep Exited | awk '{print nil}' | xargs docker rm" # removes stopped containers
|
|
alias drmdi="docker image remove "'$(docker image ls -q -f dangling=true)' # removes non-tagged images
|