BowerStudios.com

  • My Lab
  • Family
  • Friends
  • Professional
  • About
Home

Useful commands of the week

daniel —Tue, 10/17/2017 - 1:21pm

  • Linux

Attach the contents of 1.txt as json to send to a url:
curl --data "@1.txt" -v -H "Content-Type: application/json" https://myapp.com

Grab 10,000 lines after matching, and then look only at the given thread
grep -A 10000 "09:55:.*My API endpoint.*ProviderSearch" myLog.log | grep pool-2-thread-28166

  • Log in to post comments

Navigation

  • Search
  • Recent content
  • Contact Me
  • Mail
  • Pass Hasher
  • Bower Studios Admin

Quotes

daniel —Sat, 09/09/2006 - 10:11am

Before God we are all equally wise - and equally foolish.

—

Albert Einstein

  • Log in to post comments
  • daniel's quotes

Popular content

Last viewed:

  • Cake!
  • Process a Collection a batch at a time (groovy)
  • Software used in this walkthrough
  • Working with the System Clipboard from Java / Groovy
  • Group Management app

Copyright 2022 Daniel Bower
  • My Lab
  • Family
  • Friends
  • Professional
  • About