updated from live version of these.
[feisty_meow.git] / scripts / core / i.sh
1 #!/bin/bash
2
3 source "$FEISTY_MEOW_SCRIPTS/core/functions.sh"
4
5 echo '=============='
6 echo
7 echo Your user name is $USER on a computer named $(hostname).
8 echo Your machine platform is $(uname -m)
9 echo -n Uptime: 
10 uptime
11 if [ $OPERATING_SYSTEM == "UNIX" ]; then
12   which lsb_release &>/dev/null
13   if [ $? -eq 0 ]; then
14     lsb_release -a
15   fi
16 fi
17 echo The time is $(date_stringer | sed -e 's/_/ /g' | sed -e 's/\([0-9][0-9]\) \([0-9][0-9]\)$/:\1:\2/')
18 echo
19 echo '=============='
20 echo
21 echo You have the following files here:
22 ls -FC
23 echo
24 echo '=============='
25 echo
26 echo You are sharing the machine with:
27 who
28 echo
29 echo '=============='
30