Command (computing) Article Index for
Command
Website Links For
Command
 

Information About

Command (computing)




Specifically, the term ''command'' is used in Imperative Computer Language s. These languages are called this, because Statements in these languages are usually written in a manner similar to the Imperative Mood used in many Natural Language s. If one views a statement in an Imperative Language as being like a sentence in a natural language, then a command is generally like a verb in such a language.

Many programs allow specially formatted arguments, known as flags, which modify the default behaviour of the command, while further s.


EXAMPLES

Here are some commands given to a Unix or Unix-like operating system:

Cd /home/pete
This cd command changes the user's place in the Directory Tree from their current position to the directory /home/pete.

Echo "hello"
This echo command prints the text hello out to the Standard Output stream, which, in this case, will just print the text out on the screen

Ls -ltr /bin
This ls command lists files in the directory /bin, ''also'' listing all the files ''in long format'' (the flag -l), ''sorted by time'' (the flag -t), and ''in reverse order'' (the flag -r).


SEE ALSO