Carriage Return


*

*

In Linux, your keyboard will send carriage return if you type Ctrl-M, linefeed when you type Ctrl-J, và backspace when you type Ctrl-H. Can"t say with Windows, since you can be typing inlớn so many different kinds of text-đầu vào controls, including a console window.

Bạn đang xem: Carriage return


*

*

*

In linux, backspace is Ctrl+H, carriage return is Ctrl+M

If you want lớn insert a literal carriage return/backspace, you must quote it. Quoting is program-specific, but usually (or at least in bash) Ctrl+V quotes the next character. Other programs have different quoting mechanism, e.g. Ctrl+Q in emacs or Meta+V in nano

Therefore:

To insert a carriage return in bash, you would press Ctrl+V then Ctrl+MTo insert a backspace in nano you would press Meta+V then Ctrl+HTo insert a carriage return in emacs, you would press Ctrl+Q then Ctrl+M

Edit: To insert another control character, look in this table in the first column. For example, khổng lồ type an escape character you would press ^< (Ctrl+<)


The decimal value for the ASCII carriage return character is 13. With Microsoft Windows, hold down the key & type the numbers "13" on the numeric keypad; the row of numeric above sầu QWERTY won"t work. This will insert the "♪" character in to your document.

You can also copy the "♪" character from this answer and paste it in lớn your document as well.

Xem thêm: Linh Nga Và Bạn Trai Đại Gia Yêu Đương Ngày Một Mặn Nồng, Bạn Trai Đại Gia Của Linh Nga Là Ai


Thanks for contributing an answer to Super User!

Please be sure to answer the question. Provide details và chia sẻ your research!

But avoid

Asking for help, clarification, or responding khổng lồ other answers.Making statements based on opinion; baông chồng them up with references or personal experience.

To learn more, see our tips on writing great answers.


Post Your Answer Disthẻ

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy & cookie policy


Not the answer you're looking for? Browse other questions tagged windows linux or ask your own question.


site thiết kế / hình ảnh © 2021 Staông xã Exchange Inc; user contributions licensed under cc by-sa. rev2021.8.13.39972


Your privacy

By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and discthua trận information in accordance with our Cookie Policy.