LKBEN11602: Where is the tilde (=swung dash or ~ ) on my Mac?
Symptom
You use iTerm or terminal and want to cd to your home folder.
Cause
The keyboard on the Mac is different.
Solution
To type in the tile you use the Option-Key and press n, than you press space. By doing this you can enter "cd ~" in your terminal and this will change directory to your home folder. This can also be done by just "cd".
Examples:
cd ~
cd ~/Downloads
cd ~/Qt/6.3.1/macOS/bin
Have fun.
Disclaimer:
The information provided in this document is intended for your information only. Lubby makes no claims to the validity of this information. Use of this information is at own risk!About the Author
Author:
- Keskon GmbH & Co. KGWim Peeters is electronics engineer with an additional master in IT and over 30 years of experience, including time spent in support, development, consulting, training and database administration. Wim has worked with SQL Server since version 6.5. He has developed in C/C++, Java and C# on Windows and Linux. He writes knowledge base articles to solve IT problems and publishes them on the Lubby Knowledge Platform.
Latest update: 03.11.2022