ArticleslgStudy

computer science

Command key

Command key is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Command key rather than just read about it. In short: The Command key (sometimes abbreviated as Cmd key), ⌘, formerly also known as the Apple key or open Apple key, is a modifier key present on Apple keyboards. The Command key's purpose is to allow the user to enter keyboard commands in applications and in the system.

Command key — main illustration
Command key — illustration

Key takeaways

  • Command key belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Command key to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Command key from memory before moving on to harder problems.

Reference excerpt

The Command key (sometimes abbreviated as Cmd key), ⌘, formerly also known as the Apple key or open Apple key, is a modifier key present on Apple keyboards. The Command key's purpose is to allow the user to enter keyboard commands in applications and in the system. An "extended" Macintosh keyboard—the most common type—has two command keys, one on each side of the space bar; some compact keyboards have one only on the left. The ⌘ symbol (the "looped square") was chosen by Susan Kare after Steve Jobs decided that the use of the Apple logo in the menu system (where the keyboard shortcuts are displayed) would be an over-use of the logo. Apple's adaptation of the symbol—encoded in Unicode at U+2318—was derived in part from its use in Nordic countries as an indicator of cultural locations and places of interest. The symbol is known by various other names, including "Saint John's Arms" and "Bowen knot".

History

Apple's computers up through the 1979 Apple II Plus did not have a command key. The first model on which it appeared was the 1980 Apple III, where there are two monochrome Apple keys, both to the left of the space bar on the lowest row of the keyboard. Two other early Apple computers, the 1982 Apple IIe and the 1984 Apple IIc, also had two such keys, one to the left and one to the right of the space bar; in these models, they mapped to the first two fire buttons of an attached joystick. This allowed for flexible combinations of a modifier key and base key (such as Open-Apple with C for Copy) with just a few extra wires and no ROM changes, since the Apple II could only register one key press at a time (Shift and Control keys were handled in the keyboard encoding hardware which generated ASCII codes). In all these cases, the left Apple key had an outlined "open" Apple logo, and the one on the right had an opaque, "closed" or "solid" Apple logo key. The Apple Lisa had only the closed Apple logo. When the Macintosh was introduced in 1984, the keyboard had a single command key with a looped square symbol (⌘, U+2318), because Steve Jobs said that showing the Apple logo throughout the menus as a keyboard shortcut was "taking [it] in vain". Thus, the ⌘ symbol appears in the Macintosh menus as the primary modifier key symbol. The original Macintosh also had an Option key, which was used primarily for entering extended characters. In 1986, the Apple IIGS was introduced. Like the newer Macintosh computers to come, such as the Macintosh SE, it used the Apple Desktop Bus for its keyboard and mouse. However, it was still an Apple II. Apple changed the keys on the IIGS's keyboard to Command and Option, as on Mac keyboards, but added an open-Apple to the Command key, for consistency with applications for previous Apple II generations. (The Option key did not have a closed-Apple, probably because Apple II applications used the closed-Apple key much more rarely than the open-Apple key; thus there was less need to keep it around.) Because any ADB keyboard could be used with the IIGS, all of Apple's ADB keyboards—even those intended for the Mac—also included the open-Apple, and it stuck for more than twenty years, causing confusion long after the Apple II series went out of production. The Apple symbol was removed in the keyboard's 2007 redesign, making room for the key's name to appear—the word "command" is now printed on the key.

NeXT

On the keyboard of the NeXT Computer the equivalent key was marked command in green. The menus were not marked with a symbol denoting the command key. Besides being used as a modifier key for keyboard shortcuts it was also used to alter the function of some keys. Command+⇧ Shift toggles alpha lock, command+return sends Enter and command+🔉 toggles Mute. The functions were printed in green on the front side of the modified keys. This was also done on the Z, X, C and V keys (Undo, Cut, Copy and Paste). (Left) command-option-* triggers a non-catchable hardware reset thereby hard rebooting the computer. (Contrary to Ctrl+Alt+Del on a PC compatible computer which triggers only a software reset.) On the NeXT ADB keyboard, the Command keys were replaced by keys labeled help and the Command key morphed into a wide Command bar in front of the space bar.

Function The purpose of the Command key is to allow the user to enter keyboard shortcuts in applications and in the system. The Macintosh Human Interface Guidelines have always recommended that developers use the Command key (and not the Control or Option keys) for this purpose. A small set of keyboard commands (such as cut and paste, open and save) are standard across nearly all applications, and many other commands are standardized (Find, Show Fonts). If an application needs more shortcuts than can be obtained with the twenty-six letters of the Latin alphabet, double modifiers such as Command+Option are used. One advantage of this scheme, as contrasted with the Microsoft Windows mixed use of the Control and Alt keys, is that the Control key is available for its original purpose: entering control characters in terminal applications. (Indeed, the very first Macintosh lacked a Control key; it was soon added to allow compatible terminal software.) The Macintosh keyboard's other unusual modifier key, the Option key, serves as a modifier both for entering keyboard shortcuts and for typing text—it is used to enter foreign characters, typographical symbols, and other special characters.

Origin of the symbol

… excerpt ends here. Continue reading the full article.

Illustrations

Command key: Swedish road sign no. H22
Swedish road sign no. H22
Command key: A Bowen knot
A Bowen knot

Worked examples

Example 1 — a first encounter with Command key

Start with the simplest possible case. Write down what Command key claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Command key before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Command key ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Command key

In research
Command key appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Command key in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Command key is common in secondary-school and first-year university syllabi. It links to neighbouring topics Computer keys, Macintosh platform, so understanding it makes those chapters shorter.
In everyday life
Look for Command key outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Command key” →

How to study Command key in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Command key means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Command key out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Command key in simple terms?

The Command key (sometimes abbreviated as Cmd key), ⌘, formerly also known as the Apple key or open Apple key, is a modifier key present on Apple keyboards. The Command key's purpose is to allow the user to enter keyboard commands in applications and in the system.

Why does Command key matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Command key?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Command key.

Tags

  • Computer keys
  • Macintosh platform

Keep exploring