ICode9

精准搜索请尝试: 精确搜索
首页 > 其他分享> 文章详细

command

2022-07-31 20:00:33  阅读:206  来源: 互联网

标签:objects actions program Command directory command


Command may refer to:

  • Computing
    • Command (computing), a statement in a computer language
    • COMMAND.COM, the default operating system shell and command-line interpreter for DOS
    • Command key, a modifier key on Apple Macintosh computer keyboards
    • Command pattern, a software design pattern in which objects represent actions. Command objects can be thought of as "tokens" that are created by one client that knows what need to be done, and passed to another client that has the resources for doing it. The command pattern can be used for macro recording. If all user actions are represented by command objects, a program can record a sequence of actions simply by keeping a list of the command objects as they are executed. It can then "play back" the same actions by executing the same command objects again in sequence. [More]
    • Voice command, in speech recognition
  • Military
    • Military command (instruction) or military order
    • Command responsibility, the doctrine of hierarchical accountability in cases of war crimes 战争罪案件中的等级责任主义
    • Command (military formation), an organizational unit
    • Command and control, the exercise of authority in a military organization
    • Command hierarchy, a group of people dedicated to carrying out orders "from the top"
  • Other uses
    • Command (baseball), the ability of a pitcher to throw a pitch [a throw of the ball] where he intends to
    • Command, a verb using the imperative mood [命令/祈使语气] or the whole sentence containing such a verb
    • Command paper, a policy paper or report issued by, for or to the British government.
    • Command economy, a form of planned economy. A command economy follows an administrative-command system and uses Soviet-type economic planning which was characteristic of the former Soviet Union and Eastern Bloc [集团] before most of these countries converted to market economies.

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

本站声明: 1. iCode9 技术分享网(下文简称本站)提供的所有内容,仅供技术学习、探讨和分享;
2. 关于本站的所有留言、评论、转载及引用,纯属内容发起人的个人观点,与本站观点和立场无关;
3. 关于本站的所有言论和文字,纯属内容发起人的个人观点,与本站观点和立场无关;
4. 本站文章均是网友提供,不完全保证技术分享内容的完整性、准确性、时效性、风险性和版权归属;如您发现该文章侵犯了您的权益,可联系我们第一时间进行删除;
5. 本站为非盈利性的个人网站,所有内容不会用来进行牟利,也不会利用任何形式的广告来间接获益,纯粹是为了广大技术爱好者提供技术内容和技术思想的分享性交流网站。

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有