Linux Special characters in a shell (@, , €, ~)

Introduction

Let’s explore the usage of special characters in a shell environment, specifically focusing on Linux and macOS systems. These special characters, such as “@”, “”, “€”, “~”, and “|”, can be particularly useful when working with commands and scripts.

Here we go

right alt + Q = @ right alt + ß =
right alt + ^ = | right alt + e = € right alt + n = ~

alternatively:

ctrl + left alt + q = @ ctrl + left alt + ß =
ctrl + left alt + ^ = | ctrl + left alt + e = € ctrl + left alt + n = ~~

with a mac keyboard

opt + n = ~ opt + l = @ opt + 7 = | opt + shift + 7 = \

show hidden files on macos:

shift + command + .

Have fun with different keyboard settings on different platforms especially when ‘flavored’ with different language configurations - you’ll start loving complex passwords…