Today I happened to press ' after lsSo the command is ls'After I issued this command:[edit]Seems the image can't display properly> ls'quote> ls'zsh: command not found: ls\nls>Can someone tell me, what is the ls quote thing?
What is 'ls quote'?
shell;command line
Since you opened a quotation ' and pressed enter, the shell is wanting you to close the quote. The quote> prompt is simply a visual indication of such.This is so that you can pass multi-line arguments to programs.For example:$ echo 'hiquote> there'hithereSince you typed ls'Enterls'Enter, this is the equivalent to trying to run a command called ls\nls (a command with a newline character in the middle of it), which doesn't exist and so the shell gave you an error.