Docker images list
docker image ls
docker image ls -a
Docker containers list
docker container ls
docker container ls -a
. . .
Docker network list
docker network ls
Inspect network
docker network <network_name> inspect
. . .
HOW GET OUT FROM VIM
:q and press enter
OR
:q! and press enter
OR
:qw and press enter
Undo and redo
u
ctrl + r
Find something
press / and type stuff for search
Copy and paste
press v and select text for copy then press v again
press p for paste
Create branch
git checkout -b <name>
git checkout -b <name> <tag>
Delete branch
git branch -D <name>
. . .
Letz say you need configure firewall. There is one simple way by iptables.
. . .
Watching to the connection
netstat -nputw
ss -nputw
Watching content changing in the file
tail -f log.txt
. . .
Watching archive file content
unzip -l example.zip
Update archive file
zip example.zip newfile