English Language & Usage Stack Exchange is a question and answer site for linguists, etymologists, and serious English language enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

What is the difference between on the command line and at the command line?

share|improve this question

I would say that, when the command line is in front of you, you are at the command line. (Or you are at a command prompt, or in a terminal window. Etc.)

Whatever you type is on the command line.

share|improve this answer

I don't think there is any difference in meaning or "correctness" between the two forms. Personally I use at the command line, and until just now I assumed most people did the same. But apparently I'm in the minority...

enter image description here

share|improve this answer

There may be an interaction here between "on the command line" and "at the command prompt". In the situation in which these expressions are typically used, namely when explaining to someone what to type into a command shell window, they effectively mean the same thing. People may be mixing them up. This is supported by the almost identical frequencies of "at the command prompt" and "at the command line":

Google ngram histogram

share|improve this answer
After reading your answer I have no idea what your point is :) – Piotr Dobrogost Oct 21 '11 at 16:20
@Piotr: Ah, sorry about that! My point is that "on the command line" makes more sense and "at the command line" is probably a version that came about through confusion with "at the command prompt"; I don't it's intended to mean anything other than "on the command line". – joriki Oct 21 '11 at 16:35

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.