In a (SSH) terminal session, what is the purpose of the mode started by the key sequence apostrophe <ENTER> or more literally '<ENTER>.
What is the way to exit that mode?
|
In a (SSH) terminal session, what is the purpose of the mode started by the key sequence What is the way to exit that mode? |
||||
|
Typing 'enter doesn't start any special SSH mode. The (normal) commands you type are interpreted by the shell on the other end of your SSH connection, not SSH itself. ' is usually called a single quote in shell terminology, " a double-quote, and ` is a backtick. ' starts a character sequence that is not interpreted by the shell. This is useful, for example, if you need to pass and argument to a program the must contain " is similar, but some interpolation happens (i.e. variables are expanded). ` is different. That's for command substitution. If you type
the output of running the
So if you type 'enter, you're just starting a multiline literal string. You end that either with a matching ', or with CtrlC if you want to break out.
Starting a line with a |
||||
|
|
'then enter, and are wondering what's happening? – Mat May 20 '12 at 9:27~followed by newline. See the "Escape characters" section inman ssh. I'm guessing this is not what you are seeing here, though. – Daniel Andersson May 20 '12 at 12:33