hw2 - echo "HOME = $HOME" echo...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Sheet1 Page 1 # Program: greetme # Purpose: basic script commands echo "Hello $LOGNAME!" echo "Date and Time: $(date)" echo "$(cal)" echo "Machine Name: 'uname -n'." echo "TERM = $TERM" echo "PATH = $PATH"
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: echo "HOME = $HOME" echo "Disk Usage: 'du'" echo 'id -gn' echo Please, could you loan me '$50.00?' echo "Goodbye $LOGNAME, the hour is $(date +%H)" echo $?...
View Full Document

This note was uploaded on 04/01/2008 for the course CSCI 3308 taught by Professor Kenanderson during the Fall '06 term at Colorado.

Ask a homework question - tutors are online