I would like to execute the shell command "cmatrix" whenever I open a terminal. How to go about achieving this?
Gnome Terminal – Execute a Specific Command on Opening
gnome-terminalscripts
gnome-terminalscripts
I would like to execute the shell command "cmatrix" whenever I open a terminal. How to go about achieving this?
Best Answer
You can add
cmatrix
command in your~/.bashrc
file located at home folder:NOTE: Please ensure that you use
>>
, the append operator. If you use>
, it will replace your whole~/.bashrc
withcmatrix
only.