Does somebody knows waht the "can't" command does?

id flag

the screenshot I mentionedSo I was experimenting with the terminal in Wsl and happened to enter something that started with "can't" (I don't remember what it was). After that, I entered some sort of note-taking tool or program to execute multiple commands at once.

As you can see, I'm pretty new to Linux and confused as to what "can't" actually does.

I'll add a screenshot in case my explanation confuses you.

Liso avatar
sd flag
`Can't` doesn't do anything, probably you wrote up a [heredoc](
zw flag

Bash triggers on can't because of single alone quote inside.

So you entered a single quote ('), say opening quote, the first.
Bash waits for the second one and shows > as temporary prompt to remind you.

Compare the following:

$ x='y
> '


$ x='y'

The same will happen with double quotes.

To understand BASH you have to read the docs like .


Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.