Skip to content

Instantly share code, notes, and snippets.

@agail
Last active October 27, 2021 20:28
Show Gist options
  • Save agail/d154582a58c2bf4f2ddd026470cb205c to your computer and use it in GitHub Desktop.
Save agail/d154582a58c2bf4f2ddd026470cb205c to your computer and use it in GitHub Desktop.
Useful urls

### JQ - Json ###

Loop through json using jq to get multiple value:

JSON on the command line with jq:

### SSH ###

2FA + ssh keys

### Bash ###

Tuning Command Line History in Bash

Trapping ctrl+c in bash

Sort file with header

Printing with sed or awk a line following a matching pattern

Different ways to print the next few lines after pattern match

### Arrays ###

Google: create dynamic named array bash

A Complete Guide On How To Use Bash Arrays

BASH: how to create a dynamic array name in a loop

How to use (create) variable (names) dynamically inside while loop

Dynamic array variable name in bash

### Google Drive on Linux ###

### String extract ###

### bash printf ###

### bash progress bar ###

### bash dynamic variables ###

### bash if in string ###

### bash iterating vars ###

### bash test if var is numeric ###

### linux debug binary ###

### awk ###

### zombies ###

### sed ###

### python ###

### shave binary ###

### zfs ###

### openssl ###

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment