more bash examples

This commit is contained in:
Marina Wahl 2014-07-01 19:51:31 -04:00
parent 68e3f7d899
commit 4b0a965e4a
9 changed files with 199 additions and 0 deletions

View file

@ -0,0 +1,12 @@
#! /bin/bash
echo "The variable of the system are:"
echo
echo "BASH_VERSION: " $BASH_VERSION
echo "LOGNAME: " $LOGNAME
echo "OSTYPE: " $OSTYPE
echo "PATH: " $PATH
echo "PWD: " $PWD
echo "USERNAME: " $USERNAME
echo
echo "Linux distribution, name, arch: $ uname -a"
echo