dotfiles/.aliases

21 lines
889 B
Plaintext
Raw Normal View History

2015-10-30 11:37:04 +01:00
alias ..='cd ..'
alias ...='cd ../..'
alias ....='cd ../../..'
alias .....='cd ../../../..'
2015-10-24 00:57:07 +02:00
alias ll='ls -ahlF'
alias la='ls -Ah'
alias l='ls -CF'
2016-07-01 01:37:22 +02:00
alias feh='feh -d --scale-down'
2016-08-26 13:47:37 +02:00
alias camshot='fswebcam -r 640x480 --jpeg 90 -F 3 -D 1 --no-banner'
2015-10-24 00:57:07 +02:00
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
2015-10-24 00:57:07 +02:00
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