Skip to content

27th September 2021

Computer Science

GNULinux

(../computer_science/gnu_linux/curl.md)

  • New: Fetch a website that requires auth.

    curl -u username:password 
    

(../computer_science/gnu_linux/docker.md)

  • New: Remove unused data.

    Use docker system prune.

    And for automated clean up:

    Add the following line to crontab -e:

    0 3 * * * /usr/bin/docker system prune -f 2>&1 > /dev/null
    

    -f prevents manual confirmation from being asked.