This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# удалить все images без тегов | |
docker rmi -f $(docker images | grep "<none>" | awk "{print \$3}") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
To comment out blocks in vim: | |
press Esc (to leave editing or other mode) | |
hit ctrl+v (visual block mode) | |
use the ↑/↓ arrow keys to select lines you want (it won't highlight everything - it's OK!) | |
Shift+i (capital I) | |
insert the text you want, e.g. % | |
press EscEsc | |
To uncomment blocks in vim: |
OlderNewer