hej
The script produces 2 empty lines and I don't know why.
#!/bin/bash
echo $HOSTNAME
echo $PATH
echo $OSTYPE
echo $LANG
produces
jaka@jaka-System-Product-Name:~$ sh host.sh
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
sl_SI.UTF-8
Variables $HOSTNAME and $OSTYPE are an empty string. Is this OK?
Cheers
EDIT
It seems to work now and I dont know why it didnt work before.