Really basic, but it's just a test:
#!/bin/bash
# Displays hostname, user and date.
echo "$USER is on $HOSTNAME, at $(date)"
----------
default@ubuntu:~$ ./bin/mscript
default is on ubuntu, at Fri Sep 21 21:35:22 BST 2007
$ wget http://malfela.blogspot.com | RSS: Main
Friday, 21 September 2007
A Linux Shell Script
posted by Malachy at 9/21/2007 09:31:00 pm
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment