Post History
After r~~'s answer, I went through and re-checked everything again. I had also installed powershell (pwsh) into linux. It appears I forgot I had launched pwsh inside of a gnome/terminal bash sess...
#2: Post edited
- After [r~~'s answer](https://linux.codidact.com/posts/295237/295240#answer-295240), I went through and re-checked everything again.
- I had also installed powershell (`pwsh`) into linux. It appears I forgot I had launched `pwsh` inside of a gnome/terminal `bash` session, causing the described behavior of `echo 'cat' \`.
- `\` is recognized as line continuation in bash.
`` ` `` is recognized as line continuation when `pwsh` is a nested session inside of `bash`.
- After [r~~'s answer](https://linux.codidact.com/posts/295237/295240#answer-295240), I went through and re-checked everything again.
- I had also installed powershell (`pwsh`) into linux. It appears I forgot I had launched `pwsh` inside of a gnome/terminal `bash` session, causing the described behavior of `echo 'cat' \`.
- `\` is recognized as line continuation in bash.
- `` ` `` is recognized as line continuation when `pwsh` is a nested session inside of `bash`.
- In `bash`, `<ctrl>v<ctrl>j` allows entering a new line without executing the command, and without an explicit line continuation character. (this doesn't work in a nested `pwsh` session inside of `bash`)
#1: Initial revision
After [r~~'s answer](https://linux.codidact.com/posts/295237/295240#answer-295240), I went through and re-checked everything again. I had also installed powershell (`pwsh`) into linux. It appears I forgot I had launched `pwsh` inside of a gnome/terminal `bash` session, causing the described behavior of `echo 'cat' \`. `\` is recognized as line continuation in bash. `` ` `` is recognized as line continuation when `pwsh` is a nested session inside of `bash`.
