Bash profile specific ‘on login script’

Edit/Create file

nano ~/.bash_profile

Runs this example script every time you login – handy if you have many SD cards.

Example file contents

date
echo ''
echo ---------------------------------
echo '| RaspberryPI - Weather Station |'
echo ---------------------------------
echo 'Login: '$USER
echo ''
uptime
echo ''
who