André Amorim

Crafting Web Experiences


//

Show last 100 lines of a file on Linux and Docker

For a specific file:

tail -100 ./logs/error.log

On Docker logs:

docker-compose logs --follow --tail=100

docker logs <container_name> --follow --tail=100

Published date:

Modified date: