Presenting this Sunday 4 PM: Linux Shell and System Hackery Educational Endeavors Part Zero

We’ll be using command line tools via the Bash shell to poke around a Debian linux system - aiming to teach/learn all the fun stuff as well as a few of the trickier bits, and exploring some basic system security issues along the way.

This will be the first of an ongoing discussion for people interested in learning (and teaching) their way around the command line on unix-ish systems. Join us Sundays 4 PM to 6 PM in the virtual Turing room: https://jitsi.noisebridge.io/turing and HACK THE PLANET!

2 Likes

A decent reference https://linuxcommand.org

This site is based on a creative commons licensed book - 19th edition is a 555 page pdf which seems pretty comprehensive for a “beginner” guide.

Really just a few commands and concepts can do a lot to get started.

(And then can figure out all the rest much more easily if / when necessary.)

… pinging a few people who might be interested @James @jcer415 @reilytech

Meeting today from 4 PM to 6 PM, once again in the virtual Turing room → https://jitsi.noisebridge.io/turing#config.startWithVideoMuted=true&config.startWithAudioMuted=true

(Continuing the introduction to “advanced basic shell hackery” to find our way around unix-ish systems)

This class is actually so much fun. Quotes from today:

Dan: “It’s dangerous, but this is Noisebridge”

Bash: “cannot possibly work” & “This incident will be reported” (x2)

1 Like

The journey continues - today from 4 to 6 PM, will be working with ksh on OpenBSD and comparing with Bash on Debian.

Join us in the virtual Turing room → https://jitsi.noisebridge.io/turing#config.startWithVideoMuted=true&config.startWithAudioMuted=true

Continuing the ksh on OpenBSD exploration today - will be looking at interprocess communication and all the things …

Meeting in the virtual Turing room from 4 to 6 PM today (Sunday)→ https://jitsi.noisebridge.io/turing#config.startWithVideoMuted=true&config.startWithAudioMuted=true

Meeting again today (Sunday) from 4 to 6 PM in the virtual Turing room → https://jitsi.noisebridge.io/turing#config.startWithVideoMuted=true&config.startWithAudioMuted=true

noting for future reference: some discussion around ParsingLs - Greg's Wikishell - Why *not* parse `ls` (and what to do instead)? - Unix & Linux Stack Exchange

grist for today’s discussion mill → Security implications of forgetting to quote a variable in bash/POSIX shells - Unix & Linux Stack Exchange … possibly motivating a closer look at https://mywiki.wooledge.org/BashPitfalls

happening from 4 to 6 PM today in the turing room jitsi → https://jitsi.noisebridge.io/turing#config.startWithVideoMuted=true&config.startWithAudioMuted=true

@fnord , that was a very cool look at command line and shell. Look forward to next Sunday. Tom

1 Like

today’s shell hackery: functions, parameters and arrays (oh my!)

happening from 4 to 6 PM today → https://jitsi.noisebridge.io/turing#config.startWithVideoMuted=true&config.startWithAudioMuted=true

on tap for today: cthulhu ipsum with a twist of awk … 4 to 6 PM in teh virtual Turing room → https://jitsi.noisebridge.io/turing#config.startWithVideoMuted=true&config.startWithAudioMuted=true

echo more awk less cthulhu $? Running the gamut of unixoid topics once again today 4 to 6 PM in teh virtual Turing room → https://jitsi.noisebridge.io/turing#config.startWithVideoMuted=true&config.startWithAudioMuted=true

taking a break today - next session planned for Sunday June 6th 4 to 6 PM

Shell hackery starting again at 4 today - planning to examine scope in functions, processes, expansions (and etc) … As alsways, open to more intro review depending on who shows up to check it out → https://jitsi.noisebridge.io/turing#config.startWithVideoMuted=true&config.startWithAudioMuted=true

Here comes another one … What shell we do today?

Same thing we do everyday - sed grep cat awk all the things!

Leaning towards easy mode today - let’s see what happens putting together a simple note-taking utility.

Starting at 4 PM in the (virtual) Turing room → https://jitsi.noisebridge.io/turing#config.startWithVideoMuted=true&config.startWithAudioMuted=true

1 Like

4 PM today in the (virtual) Turing room → https://jitsi.noisebridge.io/turing#config.startWithVideoMuted=true&config.startWithAudioMuted=true

Continuing from last week, adding a quasi-standard “argument clinic” to the note-taking utility - looking at the getopt system library vs getopts bash builtin function, along with more basic argument parsing methods using shell case, shift, and set (etc!)

1 Like

Today we’ll be hunting wabbits and shaving yaks in pursuit of the portable optional argument clinic.

4 PM in the (virtual) Turing room → https://jitsi.noisebridge.io/turing#config.startWithVideoMuted=true&config.startWithAudioMuted=true

what is necessary eval …? How is function formed …?

expecting more questions than answers today, 4 PM in the (virtual, jitsi) Turing room → https://jitsi.noisebridge.io/turing#config.startWithVideoMuted=true&config.startWithAudioMuted=true