![]() |
Shellscript
ich hab in einem Script folgendes:
set -- `nslookup -sil $HOSTNAME`; FQHN="$8" will ich dann: printf "$FQHN" ausgeben kommt original gar nix! Auf der Konsole fuktionierts aber: boo@box:~/bin> set -- `nslookup -sil $HOSTNAME`; FQHN="$8" boo@box:~/bin> echo $FQHN box.abc.net boo@box:~/bin> was is das nun?!? (die Quotes sinds jedenfalls nicht, mit echo gehts mir genauso) |
versuch's mit
export $FQHN im Script |
schau mal ...
|
Alle Zeitangaben in WEZ +2. Es ist jetzt 11:12 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© 2009 FSL Verlag