You have used the older command substitution syntax `` AKA backticks, with only the first one in the initial PS1
. That is, you put one backtick in the primary prompt and have not closed it with another, hence the shell (bash
) is continuing to take input on the secondary prompt PS2
(by default >
).
In regular cases, just using another backtick to close the substitution would do, but as you have used too many ambiguous commands successively, press Ctrl + C to close the PS2
and get the primary prompt PS1
again.
while we're at it, for any kind of command substitution operation, start using the more robust $()
instead of the buggy and deprecated ``.
Example:
$ echo `whoami
> `
foobar
Also, are you seriously trying to do chmod -R 660 /
?
Please don't do this, and also don't run any command you don't understand or trust fully.
control-C
orexit
orquit
and see if that allows you to make normal terminal commands again. – heynnema Oct 13 '16 at 19:39chmod
on~/.ssh
. Be careful when writing commands to prevent bad things happening! – Melebius Aug 07 '19 at 07:11