clean install
- cleans and builds project-DskipTests=true
- skips tests-P <profile_name>
- runs with profile
docker ps
- show running containersdocker ps -a
- show all containersdocker images
- show imagesdocker inspect <container_name>
- show configuration and information about container (including network and IP addresses)docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' <container_name>
- show only IP address of containerdocker exec -it <container_name> /bin/bash
- open console on running containerdocker system prune
- clean up dangling (not associated with a container) resources (images, containers, volumes, networks)docker system prune -a
- additionally remove any stopped containers and all unused images (not just dangling images)
alt + F3
- quick find all - selects all occurrences of selected part of textctrl + shift + L
- places cursor at the end of each selected line
netstat
orss
- list open ports-n
,--numeric
- don't resolve service names-l
,--listening
- display listening sockets-t
,--tcp
- display only TCP sockets-u
,--udp
- display only UDP sockets-p
,--processes
- show process using socket
sudo update-alternatives --config java
- change installed java version