dirname: too many arguments Try `dirname --help' for more information. cat: /home/httpd/www.mdg.com.au/htdocs/: Is a directory