#!/bin/bash
CICADAS_USER=$1
if [ ! -z "${CICADAS_USER}" ]; then
ssh $CICADAS_USER@cicadas.surf "ls -lt /opt/threadcat/" | awk '{ s = ""; for (i = 6; i <= 9; i++) s = s $i " "; print s }'
else
echo You did not provide a user name
echo USAGE: threacat-list USER
fi