DEV Community

Cover image for Bash Scripting: Command Arguments & User Inputs (5 mins)
Ahmed Said-ahmed
Ahmed Said-ahmed

Posted on

1 1

Bash Scripting: Command Arguments & User Inputs (5 mins)

Last time, we created the first shell file. Today, let's start passing arguments and user inputs.

Arguments gives the bash program more details about what you need to do. Sometimes, it comes as a form of sub-command like yarn add <packageName> where "add" tells the program more about what to do, and the packageName is what you data that you what to pass the program.

You can also pass inputs in the middle of the working program. It could be asking for confirmation, authentication, etc.

In this video, we will discuss the how to of this:

Check out previous videos in this series:

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

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