Top "Command-line-arguments" questions

Programming command line utilities that take parameters.

How do I pass command line arguments to a Node.js program?

I have a web server written in Node.js and I would like to launch with a specific folder. I'm …

javascript node.js arguments command-line-arguments
How to prompt for user input and read command-line arguments

How do I have a Python script that a) can accept user input and how do I make it b) …

python input command-line-arguments
What is "String args[]"? parameter in main method Java

I'm just beginning to write programs in Java. What does the following Java code mean? public static void main(String[] …

java parameters command-line-arguments main
What does int argc, char *argv[] mean?

In many C++ IDE's and compilers, when it generates the main function for you, it looks like this: int main(…

c++ parameters command-line-arguments argv argc
Check number of arguments passed to a Bash script

I would like my Bash script to print an error message if the required argument count is not met. I …

bash parameter-passing command-line-arguments
How to handle command-line arguments in PowerShell

What is the "best" way to handle command-line arguments? It seems like there are several answers on what the "best" …

powershell command-line-arguments
How to read/process command line arguments?

I am originally a C programmer. I have seen numerous tricks and "hacks" to read many different arguments. What are …

python command-line command-line-arguments
Argument list too long error for rm, cp, mv commands

I have several hundred PDFs under a directory in UNIX. The names of the PDFs are really long (approx. 60 chars). …

linux unix command-line-arguments
How to export and import a .sql file from command line with options?

Not Duplicate! looking for some feature have phpmyadmin during export in command line I want to export and import a .…

mysql command-line command-line-arguments sqlcommand
Passing additional variables from command line to make

Can I pass variables to a GNU Makefile as command line arguments? In other words, I want to pass some …

makefile gnu command-line-arguments