All books

Professional

Apps About Coach Log in Start reading

Computer Science · Glossary

What is Command-line argument?

Definition 8.2 University Computer Science — Year 1 · Chapter 8 — The Shell

The shell cuts a command line into words. The first names the program; the others are its command-line arguments, which the program receives as strings: in C, as argv[1] to argv[argc - 1], argv[0] being the name it was started under.

Read in context →