Search code examples
google-cloud-platformgoogle-cloud-shellgoogle-cloud-console

How to type special symbol on Cloud Shell with Mac EU keyboard?


Considering this context:

  • MacBook
  • European Keyboard (or non US keyboard)
  • Google Cloud Shell (on Google Cloud Console)

How to type special symbols like | (pipe), \(backslash) ?

Normally, on MacOS, we can use ALT + SHIFT + L for | (pipe), and ALT + SHIFT + / for \ (backslash).

But on Google Cloud Shell, it's not working. How can we do ?


Solution

  • Here is the solution:

    • Open Cloud Shell
    • Click on settings icon at left side (gearing icon)
    • Select Terminal Preferences > Keyboard > Alt-Gr key
    • Choose Left + Alt or Right + Alt

    You're done.

    Now, ALT + SHIFT + L will work like a charm on your favorite Google Cloud Shell.