Top "Command-line-arguments" questions

Programming command line utilities that take parameters.

Best way to parse command line arguments in C#?

When building console applications that take parameters, you can use the arguments passed to Main(string[] args). In the past …

c# .net command-line-arguments
How do I run a program with commandline arguments using GDB within a Bash script?

When running a program on GDB, usually, the arguments for the program are given at the run command. Is there …

gdb command-line-arguments
Propagate all arguments in a bash shell script

I am writing a very simple script that calls another script, and I need to propagate the parameters from my …

bash command-line-arguments
Using getopts to process long and short command line options

I wish to have long and short forms of command line options invoked using my shell script. I know that …

bash command-line-arguments getopt getopts
Downloading MySQL dump from command line

I am moving away from Linode because I don't have the Linux sysadmin skills necessary; before I complete the transition …

mysql command-line command-line-arguments linode
Run a string as a command within a Bash script

I have a Bash script that builds a string to run as a command Script: #! /bin/bash matchdir="/home/joao/…

bash shell command-line-arguments
How to pass command line arguments to a rake task

I have a rake task that needs to insert a value into multiple databases. I'd like to pass this value …

ruby command-line rake command-line-arguments
How can I pass variable to ansible playbook in the command line?

I'm new to ansible and wonder how to do so as the following didn't work ansible-playbook -i '10.0.0.1,' yada-yada.…

variables command-line command-line-arguments ansible ansible-playbook
How to pass arguments to Shell Script through docker run

I am new to the docker world. I have to invoke a shell script that takes command line arguments through …

bash shell docker command-line-arguments