totallyuneekname
totallyuneekname

Reputation: 2020

Run a Command When Terminal Opens (Linux)

This feels like a stupid question, but I can't find an answer (that works) anywhere. So, I thought I'd ask it here.

Basically, I would like a command to run every time I open a Terminal window, and then show the output in the Terminal (I have Fedora). Is this possible with the MOTD, or is that text-only?

Thanks!

Upvotes: 1

Views: 1178

Answers (1)

tommyo
tommyo

Reputation: 551

Put it in ~/.bashrc or equivalent.

Upvotes: 1

Related Questions