Can I add a command in bash that starts when I open it?

Forside
Vedhæftede filer:
Indlæg som e-mail
+ (text/plain)
Slet denne besked
Besvar denne besked
Skribent: Mike Hoy
Dato:  
Til: Main PLUG discussion list
Emne: Can I add a command in bash that starts when I open it?
Just out of curiosity can I have a command execute when I open command line?

Thought I would have:

cat /proc/acpi/thermal_zone/THRM/temperature

start up each time I opened it so I could check my temperature regularly.

I searched for the answer and the closest answer I got was putting it
in /etc/rc.local, but that didn't work.

Thanks,

Mike Hoy
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss