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

Mike Hoy mhoy06 at gmail.com
Thu Oct 23 22:16:46 MST 2008


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


More information about the PLUG-discuss mailing list