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 —Wed, 08/31/2011 - 12:47am

The Unix philosophy basically involves giving you just enough rope to hang yourself. And then a couple of feet more, just to be sure.

—

Author Unknown

  • Log in to post comments
  • daniel's quotes

Popular content

Last viewed:

  • Simple Bash Backup
  • Logging Config in Grails
  • Most common keytool commands
  • Natural Sort
  • Find the color theme of a site

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