Tolgar
asked on
How to get the Unix machine name in a shell script?
Hi,
I have shell (tcsh) script and I would like to get the name of the machine that I run this script and assign it to a variable.
How can I do it?
Thanks,
I have shell (tcsh) script and I would like to get the name of the machine that I run this script and assign it to a variable.
How can I do it?
Thanks,
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
${HOST}