E
ecureuil
hi,
With bash : hostname -d
I don't find the command with Perl for that...
;o(
Thank you
anne
With bash : hostname -d
I don't find the command with Perl for that...
;o(
Thank you
anne
ecureuil said:With bash : hostname -d
I don't find the command with Perl for that...
"Sherm Pendley" <[email protected]> a écrit dans le message de (e-mail address removed)...
|
| > With bash : hostname -d
| >
| > I don't find the command with Perl for that...
|
| "That" being what, exactly? Running the "hostname" tool, or writing
| the equivalent of "hostname" in pure Perl?
|
writing the equivalent of "hostname" in pure Perl ! )
"A. Sinan Unur" <[email protected]> a écrit dans le message de
[email protected]...
| |
| >
| > "Sherm Pendley" <[email protected]> a écrit dans le message de
| > news: (e-mail address removed)...
| >|
| >| > With bash : hostname -d
| >| >
| >| > I don't find the command with Perl for that...
| >|
| >| "That" being what, exactly? Running the "hostname" tool, or
| >| writing the equivalent of "hostname" in pure Perl?
| >|
| >
| > writing the equivalent of "hostname" in pure Perl ! )
|
|
| D:\Home> perl -MSys::Hostname -e "print hostname"
| Aardvark
|
| Does this count as a SAQ?
|
my domain = domain.com
my server name = serv1
I work with linux
perl -MSys::Hostname -e "print hostname" => 'serv1'
$ENV{'HOST'} => 'serv1.domain.com' => not good
I would like 'domain.com' !
"A. Sinan Unur" <[email protected]> a écrit dans le message de
....
| You should learn to search CPAN for relevant keywords.
I sought on CPAN but not with the good word
the equivalent of "hostname" in pure Perl ! )
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.