How to add a custom welcome message to your terminal

How to add a custom welcome message to your terminal

Here’s a quick tip on how to add a custom message which is displayed each time you open a new terminal window.

1. Open the Terminal app

2. Run the following command to edit the bash_profile:

3. Within the editor after the source ~/.profile line, add in the following line:

You can use any message you like within the quotation marks for your message.

4. Exit the editor by pressing ^X

5. Next hit Y then ENTER to save your changes

6. After your changes have been saved run this final command:

You should have seen your message printed out within the terminal window after running that command.

The custom message will now display each time you open a new terminal window.


Why not join our growing community and sign up to our newsletter using the form below for more tips and tricks?






Leave a Reply

Your email address will not be published. Required fields are marked *