DEV Community

Cover image for Bash Scripting: Variables & String Manipulation
Ahmed Said-ahmed
Ahmed Said-ahmed

Posted on

1 1

Bash Scripting: Variables & String Manipulation

Today we will start work with variables in bash. If you already are a programmer or a developer, then you know about variables. It's a medium to store values in computer memory in order to use it later in the program.

Check out previous bash tutorials:

Bash variables are dynamically typed. We already used them before. However, in this tutorial we will deep dive into how to assign a variable, how to call it, assign a variable from a command directly.

Also, you will learn about string manipulation in bash which could get a bit tricky since we are using special characters to perform such manipulation instead of built-in functions in other languages.

Sentry image

Hands-on debugging session: instrument, monitor, and fix

Join Lazar for a hands-on session where you’ll build it, break it, debug it, and fix it. You’ll set up Sentry, track errors, use Session Replay and Tracing, and leverage some good ol’ AI to find and fix issues fast.

RSVP here →

Top comments (0)

nextjs tutorial video

Youtube Tutorial Series

So you built a Next.js app, but you need a clear view of the entire operation flow to be able to identify performance bottlenecks before you launch. But how do you get started? Get the essentials on tracing for Next.js from @nikolovlazar in this video series 👀

Watch the Youtube series

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay