On Thursday 23 October 2008 22:16:46 Mike Hoy wrote: > 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 - PLUG-discuss@lists.plug.phoenix.az.us > To subscribe, unsubscribe, or to change your mail settings: > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss Simple. Add that command to your .bashrc file. Some shells use .profile instead. Play around with that. echo cat /proc/acpi/thermal_zone/THRM/temperature >> .bashrc nathan --------------------------------------------------- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change your mail settings: http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss