I accidentaly typed ls' and I got a interactive interface: >
What is this?
I tried search on internet, found nothing.
|
I accidentaly typed I tried search on internet, found nothing. |
|||
|
|
|
This behavior is distro agnostic.
You had open a quote, the shell is displaying You can change PS2 with what you want instead : Ex: The value of $PS2 is printed (after expansion) as the secondary prompt for more data when bash is running interactive. See |
|||||||||||||||||
|
it means that you open a long string with Use |
|||
|
|
|
Anders Lind: "PS2" stands for "Playstation 2". Just kidding. :) "PS" stands for (probably) "prompt string". PS1 is what the shell would display as your shell process's command line prompt. PS2 is displayed when further input is required to complete the command (unquoted string, reading from stdin, etc.). |
|||
|
|
|
"ls" typically lists the files in the directory. Something like ls> would be similar to ftp>, starting a subprocess in the command line. However, I've never before seen ls used in such a way. What distribution are you running? Perhaps that would help to answer. |
|||||||
|