useing uname is a better way then using hostname. Some people will make a mistake and write things like:
hostname=.... witch will change your hostname.
HOST=$(uname -n) will display the name of your host and place it in $HOST
Greetings,
Wim Alsemgeest
The Netherlands
how can i write a routine, lets say show, that reads several files, grap the string i give than give th output the following way:<br>
<br>
show a<br>
a<br>
just some tekst<br>
like this<br>
awk<br>
a tekst routine<br>
you must be able to work with<br>
<br>
In the file the tekst is like...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.