X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fcore%2Fi.sh;h=fd2fd7350fa0b10efd15376dcc582eab8eb8bd36;hb=c382729e32b4e05533185bf8b19f7d34c3f9e2ef;hp=18460d3d1a390664d7162d48b0442e65d93cc279;hpb=2952ccf47b80174880141a7ecfa122089f349b8d;p=feisty_meow.git diff --git a/scripts/core/i.sh b/scripts/core/i.sh index 18460d3d..fd2fd735 100644 --- a/scripts/core/i.sh +++ b/scripts/core/i.sh @@ -1,28 +1,30 @@ #!/bin/bash -( -source $SHELLDIR/core/date_stringer.sh +source "$FEISTY_MEOW_SCRIPTS/core/functions.sh" -echo '###############################################################################' +echo '==============' echo echo Your user name is $USER on a computer named $(hostname). -echo Your machine platform is $(uname -m). +echo Your machine platform is $(uname -m) +echo -n Uptime: +uptime +if [ $OPERATING_SYSTEM == "UNIX" ]; then + which lsb_release &>/dev/null + if [ $? -eq 0 ]; then + lsb_release -a + fi +fi echo The time is $(date_stringer | sed -e 's/_/ /g' | sed -e 's/\([0-9][0-9]\) \([0-9][0-9]\)$/:\1:\2/') echo -echo '###############################################################################' +echo '==============' echo echo You have the following files here: ls -FC echo -echo '###############################################################################' +echo '==============' echo echo You are sharing the machine with: who echo -echo '###############################################################################' -echo -echo You are running the following processes: -. $SHELLDIR/users/findme.sh -echo -echo '###############################################################################' -) | less +echo '==============' +