Quick docker container to have a hoon
1 | docker run -ti --name ubuntu-c ubuntu |
- https://docs.docker.com/v17.12/edge/engine/reference/commandline/run/
- https://docs.docker.com/v17.12/edge/engine/reference/commandline/start/
Update & Upgrade
pt-get update
downloads the package lists from the repositories and “updates” them to get information on the newest versions of packages and their dependencies.
apt-get upgrade
will fetch new versions of packages existing on the machine if APT knows about these new versions by way of apt-get update
1 | apt-get update |
Misc Commands and magic
1 | --- Misc Commands |
Text Editor
1 | nano postgres.sh ~ edit and create the file |
1 | vm foo.txt |