application startup on terminal/shell
Ralf Mardorf
kde.lists at yahoo.com
Mon Oct 18 18:03:32 UTC 2021
On Tue, 19 Oct 2021 04:57:55 +1100, Karl Auer wrote:
>On Mon, 2021-10-18 at 17:41 +0100, Zahid Rahman wrote:
>> I want the neofetch app to run every time I start a new terminal.
>
>There are several files whose specific purpose to is initialise things
>when you start new shells in various ways.
>
>Check out:
>
> /etc/bash.bashrc
> /etc/profile
> ~/.bashrc
> ~/.profile
> ~/.bash_profile
> ~/.bash_login
>
>Read the "INVOCATION" section of "man bash" for information on when
>these files are executed. Since some of them call others of them, It
>all gets a bit convoluted :-)
>
>The short answer you probably want is to append a call to neofetch to
>your ~/.bashrc file:
>
> echo >> ~/.bashrc
> echo neofetch >> ~/.bashrc
>
>Regards, K.
>
I guess little girl and Karl are right. Actually divert would work,
too, but it's not appropriate. OTOH I do not really know how neofetch
works.
It seems that neofetch opens it's own window and doesn't provide it's
infos on top of an opened terminal.
More information about the ubuntu-users
mailing list