1 of 22

2 of 22

The POSIX world

Kubernetes Guatemala // 2022 - 11 - 16

3 of 22

About the speaker

Hi! I'm Jossemar Cordero

@jossemargt

  • Maker
  • I do random stuff just for sake of learning
    • Novice radio presenter
    • Amateur stand up comedian
  • Lead Engineer
    • Engineering manager
    • Developer
    • DevEx Engineer
    • Build Engineer
    • All rounder lvl 45*
    • Infrastructure engineer

* JK, attackers are the new meta

4 of 22

What should I expect today?

  • Brief theory
    • About the title
    • Quick recap
    • More Concepts
  • Show me the code!

5 of 22

But first!

  • Bash shell
  • Any system that supports it:
    • GNU Linux
    • Windows + WSL
    • MacOS + GNU Coreutils

Prerequisites

6 of 22

Trust the source Luke!

https://github.com/k8s-gt

7 of 22

About the title

  • In the first part we had a brief developer friendly introduction
  • Now, we are entering into another world with new abstractions

8 of 22

In the last episode

9 of 22

How can I tell the OS what to do at a very base level?

10 of 22

The answer is simple…

11 of 22

The POSIX shell powers

  • Scripting language
    • Variables
    • Expressions
    • Control flow
    • Iterations
  • Built-in utils
  • Stream redirections

12 of 22

[Skip]

13 of 22

Workshop

Time!

al taller

14 of 22

$ git clone https://github.com/k8s-gt/linux-cli-essentials.git

15 of 22

About those pending slides

16 of 22

How we do things in the *nix world

17 of 22

An *nix process will

Have a parent

Return a status code when exit

Have values provided by the Environment

Have values when invoked (params)

Have

IN / OUT data streams

Access to other data streams

Handle signals

18 of 22

Data Streams?

Author: Mallory Haack https://dribbble.com/malhaack

19 of 22

Data Streams

20 of 22

Back to the code

21 of 22

22 of 22

Grazie

Dank je

ありがとう

Thank You

Maltyox Chawe

Gracias Totales