how can i display a message when open terminal.
i want to display a Specified text right after open terminal any time.
hence before do anything,i want that text will shown.
i want to understand what file or files should change...
thank you
how can i display a message when open terminal.
i want to display a Specified text right after open terminal any time.
hence before do anything,i want that text will shown.
i want to understand what file or files should change...
thank you
You can add it to your ~/.bashrc
. That file is read each time a new interactive shell is launched so it will be displayed each time you launch a terminal, or log in to the console or simply run bash
. For example, you could add these lines:
echo "Hi, how are 'ya?"
.bashrc
and not yours.