You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

How to put a command at the terminal

How can I put a command at the terminal? When I click on terminal, the following shows up:


Last login: Sat Nov 28 10:01:32 on console

MargareComputer:~ margaretemoore$ 


So where can I put the command? There should be a search line.

iMac 21.5″, macOS 10.14

Posted on Nov 28, 2020 9:10 AM

Reply
Question marked as Top-ranking reply

Posted on Nov 28, 2020 9:27 AM

What are you trying to do with the Terminal?


If you don't understand how to use the Terminal command line, then you should learn about it before doing anything else. The command line is extremely powerful and dangerous which can destroy macOS and all your data if used incorrectly or if you mistype a command (even for experienced command line users). The macOS GUI interface tries to protect users from making big mistakes, but the Terminal app has no protections for the user. When you execute a command from the Terminal app it will do exactly as told (even if the result wasn't what you intended). Make sure to have a good backup before doing anything with the Terminal command line.


Here is a basic introduction to the command line:

https://www.taniarascia.com/how-to-use-the-command-line-for-apple-macos-and-linux/


Again, this is very important: Make sure to have a good backup before doing anything with the Terminal command line.


Edit: Do not blindly use commands you find online. Many times the commands need to be customized for your own use. Make sure to understand the command(s) before executing them.

2 replies
Question marked as Top-ranking reply

Nov 28, 2020 9:27 AM in response to margalina

What are you trying to do with the Terminal?


If you don't understand how to use the Terminal command line, then you should learn about it before doing anything else. The command line is extremely powerful and dangerous which can destroy macOS and all your data if used incorrectly or if you mistype a command (even for experienced command line users). The macOS GUI interface tries to protect users from making big mistakes, but the Terminal app has no protections for the user. When you execute a command from the Terminal app it will do exactly as told (even if the result wasn't what you intended). Make sure to have a good backup before doing anything with the Terminal command line.


Here is a basic introduction to the command line:

https://www.taniarascia.com/how-to-use-the-command-line-for-apple-macos-and-linux/


Again, this is very important: Make sure to have a good backup before doing anything with the Terminal command line.


Edit: Do not blindly use commands you find online. Many times the commands need to be customized for your own use. Make sure to understand the command(s) before executing them.

How to put a command at the terminal

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.