1
Hello, I wonder how I can convert a. log file generated in a container in Docker and convert it to a txt file using Bash.
1
Hello, I wonder how I can convert a. log file generated in a container in Docker and convert it to a txt file using Bash.
2
I don’t know if it would help but you can use the Unix move command.
Examples
mv MeuArquivo.log MeuArquivo.txt
Or in a specific directory...
mv /var/logs/MeuArquivo.log /var/logs/MeuArquivo.txt
Browser other questions tagged linux bash docker log txt
You are not signed in. Login or sign up in order to post.
What kind of file is this . log generated by Docker, by any chance is a text file? Can you open it with vi for example?
– gfleck