GithubHelp home page GithubHelp logo

sixbytesunder / custom-motd Goto Github PK

View Code? Open in Web Editor NEW
20.0 2.0 10.0 236 KB

Highly customizable Message of the Day script for Raspberry Pi

License: MIT License

Shell 100.00%
bash motd raspberry-pi bash-script linux

custom-motd's Introduction

Hi there 👋

custom-motd's People

Contributors

luisdanielroviracontreras avatar sixbytesunder avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

custom-motd's Issues

Ethernet IP Address

When the Raspberry Pi is connected via Ethernet the IP address is just blank. Image

Available updates from apt

apt-get -s dist-upgrade | tail -n 1
apt-get -s dist-upgrade | grep -Po '^[[:digit:]]+ (?=upgraded)'
apt-get -s dist-upgrade | grep -o '[[:digit:]][[:space:]]not upgraded'

update to
apt list --upgradable | wc -l

Update readme file

  1. Everything from sudo rm /etc/motd is optional. Update readme to say that.
  2. Give download command wget https://raw.githubusercontent.com/SixBytesUnder/custom-motd/master/motd.sh

Show last login data

last -2 -a -F
last -2 -a -F | awk 'NR==2 {print $1,"on",$3,$4,$5,$6,$7,"from " $15}'

Last login: pi on Fri Feb 14 20:10:10 2020 from 111.111.111.111.dyn.net

wrong city name

This is wrong:
City Name = "Stuhlweissenburg, HU" Location = "EUR|HU|HU011|SZÉKESFEHÉRVAR" Country = "Hungary"
It is corrected:
City Name = "Szekesfehervar, HU" Location = "EUR|HU|HU011|SZÉKESFEHÉRVÁR" Country = "Hungary"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.