Skip to content
Advertisement

Linux cut pattern from log file

i have json log file but theres not only json i need to cut/remove everything what isnt json, structure looks like this:

JavaScript

i tried cut -d command but it doesnt work for me

Advertisement

Answer

This did the work:

JavaScript
User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement