AI engineering glossary · Command line Git
What is command argument?
Command argument (also called Positional argument): A value supplied after a command name that tells it what to act on, such as a file name or a URL. The program reads arguments in order. Unlike options, arguments are usually required and their meaning depends on their position.
Command argument: an example
In cp report.pdf backup/, report.pdf and backup/ are the two arguments.
Related terms
More Command line Git terms
- Command history
- Command-line flag
- Command-line interface
- Commit
- Commit hash
- Continuous integration
- Conventional Commits
- cron
Where you learn it
Command argument is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.