Expand Your Test, Embrace Your Bash - Dominic Kua

13th January 2023
  • Locked
Dominic Kua's profile
Dominic Kua

Expand Your Test, Embrace Your Bash - Dominic Kua image
A free account is required to view this content
Talk Description

Testers work best being creative and inquisitive. We’re creatures who thrive on the new and the question “What if?”, But often setting things up to see what if and examining them to see what has actually happened is long and tedious work. It doesn’t have to be.

Many of us have access to the Bash terminal emulator and the suite of Unix commands that it offers us. Whether it’s through the Windows Subsystem for Linux, natively on MacOS and Linux on the desktop or in Linux machines in the cloud, many testers have access to a powerful, flexible and free suite of tools that they might not know about. This talk will explain a few of the more common and useful Unix tools, like ls, grep, xargs and how you can use them in concert to automate find and replace across gigabytes of files, or extract and log only the relevant error messages from an application’s output in real-time.

We’ll explain how to chain commands together using the mythical pipe operator, what you can do with punctuation to make your life easier and give you a taste of the scope of what’s possible with Unix commands.

 

Takeaways

  • Learn how to use curl, grep, ls, cat, xargs, echo and tee.
  • How to use the pipe operator to pass data between these tools.
  • How to get help, man pages and the -h argument.
  • How to use punctuation to expand, recover and augment your command chains
  • What the next steps are: Bash scripting and execution.
What you’ll learn

By the end of this talk, you'll be able to:

  • TBA
Dominic Kua's profile'

Dominic Kua

Suggested Content
The Hidden Treasure Of Static Analysis: Finding Risks In Forgotten Places
Favourite Three Tools with Neil Studd
Forensic Testing: Uncovering Quality Issues Using Your Organization’s Code Repository
What Does It Mean To Be A Technical Tester?
Pollen: A Panel About Polls
Your Weekly Testing News - Issue 437
With a combination of SAST, SCA, and QA, we help developers identify vulnerabilities in applications and remediate them rapidly. Get your free trial today!
Explore MoT
TestBash Brighton 2024
Thu, 12 Sep 2024, 9:00 AM
We’re shaking things up and bringing TestBash back to Brighton on September 12th and 13th, 2024.
Coding For Non-Coders
Learn how to get started with code using .NET

Tags

  • developer-tools
  • technical-testing