To complete the Learn Bash course successfully, you must be able to type certain characters exactly as Bash and PostgreSQL expect them. Because these characters vary across international keyboards, all learners should temporarily switch to the English (US) keyboard layout for the duration of the course.
Using the US layout ensures:
- Commands behave consistently
- Symbols appear where the curriculum expects
- You avoid errors caused by “dead keys” or remapped characters
- You can follow instructions exactly as written
GitHub Codespaces uses your local keyboard layout.
You must change the layout on your computer itself.
- Open Settings → Time & Language → Language & Region
- If “English (United States)” is not listed, click Add a language
- Add English (United States)
- Under Keyboards, select US
- Remove other layouts or move US to the top of the list
- Open System Settings → Keyboard → Input Sources
- Click + and add English → U.S.
- Remove other layouts or disable automatic switching
- Ensure U.S. is the active layout
GUI method:
- Open Settings → Keyboard
- Add English (US)
- Move it to the top of the list
- Remove other layouts if possible
Command‑line method (X11): Check your current layout:
setxkbmap -query
Switch to US:
setxkbmap us
Open any text box and type the following characters:
- _ / \ | ' " : ; $ ( ) [ ] { }
If all characters appear exactly as shown, your layout is correct.
If any character:
- appears as an accented letter
- requires unusual key combinations
- does not match the symbol shown above
then your layout is not set to US.
Open your Codespace terminal and type:
- _ / \ | ' " : ;
If the characters match exactly, you are ready to begin the course.
If not, your local machine is still using a non‑US layout.
Many international layouts (AZERTY, QWERTZ, Latin American, etc.) change:
- the location of
/,\,|,'," - how to type
$,{},[],() - whether
'and"are “dead keys” - how Bash interprets commands
- how PostgreSQL interprets backslash commands such as
\dtor\c
Using English (US) avoids these problems and ensures your commands match the course instructions exactly.
Before starting the course, confirm the following:
- My computer is set to English (US) keyboard layout
- I can type all required Bash symbols correctly
- No dead keys interfere with quotes
- Codespaces shows the correct characters
- Other layouts are removed or disabled to avoid accidental switching