improved inventory command.
[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 if [ $OPERATING_SYSTEM == "UNIX" ]; then
10   which lsb_release &>/dev/null
11   if [ $? -eq 0 ]; then
12     lsb_release -a
13   fi
14 fi
15 echo The time is $(date_stringer | sed -e 's/_/ /g' | sed -e 's/\([0-9][0-9]\) \([0-9][0-9]\)$/:\1:\2/')
16 echo
17 echo '=============='
18 echo
19 echo You have the following files here:
20 ls -FC
21 echo
22 echo '=============='
23 echo
24 echo You are sharing the machine with:
25 who
26 echo
27 echo '=============='
28