#!/bin/bash

# showDirectories.bash
# Author: Murray Saul
# Date:   January 30, 2009
#
# Purpose: To demonstrate use of ~, ~+, ~- shell expansion symbols
echo "Your Current directory is: $HOME:"
echo "Contents of your $HOME directory is:"
echo
ls ~
echo

mkdir ~/tutorial
cd ~/tutorial
touch a b c

echo "Your Current directory is: $HOME:"
echo "Contents of your CURRENT  directory is:"
ls ~+
echo
echo "Contents of your PREVIOUS  directory is:"
ls ~-
echo

cd
rm -r ~/tutorial  # Cleaning up files...


