Bonus guide: System overview

To get a quick overview of the system status, you can use a shell script that gathers the most relevant data. You can configure it to be shown on each login.

Difficulty: Easy

Status: Tested v3

MotD system overview


Installation

This script can be run by user “admin” without root privileges, but you should still check it yourself.

  • Install necessary software packages

    $ sudo apt install jq net-tools netcat
    
  • Download the script.

    $ cd /tmp/
    $ git clone https://github.com/raspibolt/raspibolt-pulse
    
  • Inspect the scripts to make sure it does not do bad things. Exit with Ctrl-X

    $ cd /tmp/raspibolt-pulse
    $ nano *.sh --linenumbers
    
  • Install the script and make it executable

    $ sudo chmod +x *.sh
    $ sudo cp *.sh /usr/local/bin
    $ sudo mv /usr/local/bin/raspibolt-pulse-switch.sh /usr/local/bin/raspibolt
    
  • You can now run the script with user “admin”

    $ raspibolt
    

Show on login (optional)

You can run the welcome script automatically every time you log in. If you’re in a hurry, you can always press Ctrl-C to skip the script.

  • As user “admin”, add the raspibolt command to the end of your .bashrc file

    $ echo "raspibolt" >> ~/.bashrc
    

In case you are upgrading from a previous version of the script, you need to disable the old script to avoid seeing both on startup. In earlier versions, the script was executed by the “Message of the day” mechanism.

  • To get rid of all MOTD output, simply rename the following directory:

    $ sudo mv /etc/update-motd.d /etc/update-motd.d.backup
    




« Back: + Raspberry Pi