DEV Community

Cover image for Writing complex bash commands using redirecting, chaining & nesting
Ahmed Said-ahmed
Ahmed Said-ahmed

Posted on

2 1

Writing complex bash commands using redirecting, chaining & nesting

In previous submission, we discussed 8 fundamental bash commands and their options as an overview of this scripting language.

Today, we will deep dive into a bit advanced concepts, including:

  • Chaining: execute multiple commands sequentially.
  • Pipelines: send the output of a command as an input of the next one.
  • Redirecting: channeling data out of or into a command.
  • Nesting: calling a command inside another command while sending the output of the inner command as an argument of the outer command.

Check in 7 minutes, the step by step video with examples below:

In future videos, we will discuss bash scripting in a shell file fundamentals and best practices.

Top comments (0)

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More

👋 Kindness is contagious

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

Okay