TutorialsHowLinuxOperating SystemsQuick

How to Type an Em Dash (—) in Linux

The em dash (—) is a powerful punctuation mark often used for emphasis or breaks in thought. Typing it on Linux isn’t as obvious as on other systems, but it’s easy once you know how.

1. Using the Compose Key

  • First, enable the Compose Key in your keyboard settings.
    • To set it up, go to Settings → Keyboard → Special Character Entry → Compose Key, enable it, and pick a key.
  • Press your chosen Compose Key, then press the dash key (-) three times in a row.
    This usually results in an em dash (—).

2. Using Unicode

  • Press Ctrl + Shift + U, then type 2014, and hit Enter or Space.
  • Example: Ctrl + Shift + U, 2014, then Enter.
    This usually results in an em dash (—).

Now you can type em dashes with ease on any Linux system. Happy typing!

See also  How to Connect GCP VM Instance using SSH via Putty on Windows

Leave a Reply

Your email address will not be published. Required fields are marked *