在终端中输入cat > 文件名.txt 。 按下回车键。 输入文档的内容。 按下Ctrl+Z。 在终端里输入ls -l 文件名.txt 。 按下回车键。

I'm interested in that, but I only have a few mins. Can you give me at most the first 500 characters of a detailed explanation in English about that?
You'll replace "filename" with your preferred text file name (e.g., "sample"). For example: when creating a file named "kitty", you'd type cat > kitty.txt. Doing so will create a new text file with the specified name in your current directory. Your cursor will appear on a blank line in Terminal. You can simply type as you typically would for any other text document. To save the current line of text and jump to the next line, you'll press ↵ Enter. If you have the text file's directory open, you c