Chapter in this post:
Every now and then, as a Mac user, you have to go into the terminal and type in a command. I often find it difficult because I have to enter paths that sometimes contain spaces and other special characters that puzzle me when I enter them. I'll admit I'm not exactly a great light when it comes to using the terminal, but sometimes just knowing a few good tricks is enough.
The first tip I want to share here is the Tab key. If you enter the first part of a file or folder name and press TAB, the name is completed. If there are several possibilities, for example because there are several files that start with the characters you have already entered, nothing will be completed.
In this case you can press TAB twice and then you will get the Port a list of the various possibilities that would come into question.
But here's the real tip: If you want to switch to a specific folder in the terminal, you can use a Finderwindow, click the folder with the mouse and then drag it into the terminal window. In my case, the command "cd /path/to/folder" then appeared in the terminal. So all I had to do was press return and I ended up in the appropriate folder. There I could then enter the remaining commands that affected a specific file.
Speaking of the terminal: Enter the following command in the terminal:
sudo shutdown -h +30
This helps so that you don't sit at the computer forever and also get some fresh air, because with this command you tell the Mac to shut down after 30 minutes (+30) (-h). But before you lose important work: I'm not sure how to stop the timer. 😊
For me, these little "hacks" are very helpful when dealing with the terminal. If you also have a nice trick for the terminal, please leave it here as a comment.
Jens has been running the blog since 2012. He appears as Sir Apfelot for his readers and helps them with problems of a technical nature. In his free time he drives electric unicycles, takes photos (preferably with his iPhone, of course), climbs around in the Hessian mountains or hikes with the family. His articles deal with Apple products, news from the world of drones or solutions for current bugs.