Posts tagged shell

Tree structure without node_modules

Read more ...


Watch file

Here is a helper function watch-file which takes the arguments:

Read more ...


Convert images to a pdf

Use convert (from the package imagemagick):

Read more ...


Get real path

  • 24 October 2021
  • Tag: shell

I guess for a symlink, we can do:

Read more ...


Powershell

  • 02 April 2021
  • Tag: shell

Use different keybindings:

Read more ...


sed

  • 30 December 2020
  • Tag: shell

Stream editor. Using regular expression, editor the standard input.

Read more ...


parallel

  • 30 December 2020
  • Tag: shell

Run a command in parallel.

Read more ...


jq

  • 30 December 2020
  • Tag: shell

Filtering

Read more ...


jq

  • 30 December 2020
  • Tag: shell

Filtering

Read more ...


awk

  • 30 December 2020
  • Tag: shell

Column based editing

Read more ...


Variable assignment in bash

  • 30 December 2020
  • Tag: shell

is the same as

Read more ...


Press enter to continue

  • 30 December 2020
  • Tag: shell

In zsh:

Read more ...


Loops

  • 30 December 2020
  • Tag: shell

For loop:

Read more ...


Generate a UUID

  • 30 December 2020
  • Tag: shell

Uuid / Guid:

Read more ...


Decode a jwt

  • 30 December 2020
  • Tag: shell

Assuming that the jwt is in the token.json file:

Read more ...


Convert images to gray scale

  • 30 December 2020
  • Tag: shell

Read more ...


Conditionals

  • 30 December 2020
  • Tag: shell

Argument 1 is not specified:

Read more ...


Create a gif from jpegs

Use convert (from package imagemagick):

Read more ...