YSITD bot says to YSITD[ubuntu - Execute a command every time Terminal is open - Super User] https://superuser.com/questions/591321/execute-a-command-every-time-terminal-is-open Add it to your ~/.bashrc : http://www.joshstaiger.org/archives/2005/07/bash_profile_vs.html. Each time a new terminal is opened ~/.bashrc is invoked. [linux - how to execute a command everytime I open a new terminal ...] https://stackoverflow.com/questions/29117442/how-to-execute-a-command-everytime-i-open-a-new-terminal-to-my-server You can add the command to the .bashrc file under the user's home directory. $ echo "csh -l |tee my_session_`date +%F%T`" >> ~/.bashrc. Commands in .bashrc is executed everytime a new window is spawned. [[ubuntu] How to run a command everytime I open terminal? - Ubuntu ...] https://ubuntuforums.org/showthread.php?t=2230296 18 Jun 2014 ... My instructions state every time I open a new terminal I need to type: export PATH=/opt/cross-uxl/bin:$PATH Is there a way where this will automatically be done for me when I open terminal? I believe it has something to do with scripting but I'm a complete newbie. Clear instructions would be much ...at Tue, Feb 20, 2018 1:20 PM