Article 5EP34 Run a shell script when a terminal is opened

Run a shell script when a terminal is opened

by
Richk77
from LinuxQuestions.org on (#5EP34)
Is it possible to force a shell script to run each time a terminal window is opened? I've tried editing the icon / link on the desktop to konsole -e bash xxx.sh but this doesn't work - the terminal window just closes.

Running Leap 15.2.latest?d=yIl2AUoC8zA latest?i=yofo1QnrBUs:TubR31SbHe4:F7zBnMy latest?i=yofo1QnrBUs:TubR31SbHe4:V_sGLiP latest?d=qj6IDK7rITs latest?i=yofo1QnrBUs:TubR31SbHe4:gIN9vFwyofo1QnrBUs
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments