Lists images
$ docker images
Removes an image
$ docker rmi <image-id>
# searches files inside jars | |
find foo/ -name "*.jar" | xargs grep Hello.class | |
locate "*.jar" | xargs grep Hello.class | |
# displays memory usage | |
free -m | |
# change permissions | |
chmod u=rwx,g=rx,o=r myfile |
#1 option | |
@echo off | |
( | |
echo *.log | |
echo local_settings.config | |
echo dir_name | |
) > .gitignore | |
#2 option |