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

Página superior
Adjuntos:
Obtener este mensaje como un correo
+ (text/plain)
Eliminar este mensaje
Responder a este mensaje
Autor: Mike Hoy
Fecha:  
A: Main PLUG discussion list
Asunto: 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