Tips and tricks for using JC interactively, in scripts, and in automation.
In Part 2 we look at using JC to parse URLs, POSIX paths, and git log output.
Musings on automation, scripting, programing, DevOps, and cybersecurity
Tips and tricks for using JC interactively, in scripts, and in automation.
In Part 2 we look at using JC to parse URLs, POSIX paths, and git log output.
Tips and tricks for using JC interactively, in scripts, and in automation.
In Part 1 we look at using JC as a Subnet Calculator, for exploring X.509 certificates, and for converting dates and timestamps.
Tutorial demonstrating the rapid development of a subnet scanning Bash script made possible with the power of JSON, jc, and jq.
Learn how to extract X.509 certificate metadata to JSON values for easier use in automation scripts. Works with DER, PEM, PKCS #7, and PKCS #12 files.
In this article I give a quick snapshot of what it’s like to work with JSON in various traditional and next generation shells. Traditional shells like Bash and Windows Command Prompt (cmd.exe) don’t have built-in JSON support and require 3rd party utilities. Newer shells like NGS, Nushell, Oil, Elvish, Murex, and PowerShell have JSON serialization/deserialization and filtering capabilities built-in for a cleaner experience.
A new way to parse ASCII or Unicode plain text tables using jc and jq or jello. No need for grep, sed, or awk!
Effectively use JSON data at the command line with jc, jq, and Bash. This article provides practical examples of how to improve your scripts with JSON.
jtbl is simple and elegant. It just takes in piped JSON or JSON Lines data and prints a table. There’s only one option to turn on column truncation vs. wrapping columns if the terminal width is too narrow to display the complete table. It ‘does the right thing’.
Fun at the command line plotting JSON values at the terminal with jc, jq, and jp.
Do one thing well. For command-line utilities to do their one thing “well” they must include standardized machine-readable output. Linux and all of its supporting GNU and non-GNU utilities should offer JSON output options.