其他分享
首页 > 其他分享> > command

command

作者:互联网

Command may refer to:

In computing, a command is a directive to a computer program to perform a specific task. It may be issued via a command-line interface, such as a shell, or as input to a network service as part of a network protocol, or as an event in a graphical user interface triggered by the user selecting an option in a menu.

Here are some commands given to a command-line interpreter (Unix shell).

The following command changes the user's working position in the directory tree to the directory /home/pete. The utility program is cd and the argument is /home/pete:

cd /home/pete

The following commands are equivalent. They list files in the directory /bin. The program is ls, having three flags (l, t, r), and the argument is the directory /bin:

ls -l -t -r /bin
ls -ltr /bin

Here are some commands for the DOS, OS/2 and Microsoft Windows command prompt processor.

The following command displays the contents of the file readme.txt. The program name is type and the argument is readme.txt.

type readme.txt

The following command lists the contents of the current directory. The program name is dir, and Q is a flag requesting that the owner of each file also be listed.

dir /Q

六级/考研单词: compute, default, interpret, modify, hardware, token, execute, militant, instruct, doctrine, hierarchy, dedicate, verb, imperative, mood, issue, bloc, convert, protocol, trigger, menu, directory, utility, equivalent

标签:objects,actions,program,Command,directory,command
来源: https://www.cnblogs.com/funwithwords/p/16537968.html