I'm very new to Linux environment and I just got myself a Pi to play with it. Recently I found this command to check my Pi's temperature which is /opt/vc/bin/vcgencmd measure_temp
Is it possible to save that command somewhere with a shortcut or an alias? So that I could just type in like checktemp
and it would run the command.
Ignore me if I'm asking a nonsense question.
.bash_aliases
and I would prefer it. After modifying.bashrc
it is really not needed to reboot the whole computer. Logout and login or even better just executesource .bashrc
. – Ingo Jul 28 '19 at 10:54