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