What's the point of an open("long pipeline |") loop if all you want is a single value? I'd use backticks for that.
That's a really good point, it used to be a more complex regex
I've since got it running, by removing the 'my' keyword where it's setting $server if the foreach loop:
I won't pretend to understand why this worked though...
hi there, I have some database output that looks like this
SELECT nic_name,nic_duplex,nic_speed,nic_ip FROM network_table WHERE hostname = "server1"
result is this (ive delimited with a pipe for ease of reading)
bge0|full|1000|10.32.100.1
bge1|full|1000|11.12.101.7 ... (1 Reply)
Hi there
I have a hash of hashes made up of the following data
bge0|100|half|10.36.100.21
bge1|1000|full|10.36.100.22
bge2|1000|full|10.36.100.23
which when i turn into a hash, would look like this inside the system
bge0 ->
nic_speed -> 100
nic_duplex -> half
... (6 Replies)
Hi, sorry, two hash related questions in one day .. but this has got me a bit stuck.
I have a mysql database table that kind of looks like this, the table is called "view1" and a snippet of that table (SELECT'ing just rows with serial number 0629AN1200) is below
serial nic_name ... (2 Replies)
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
Hi there, I am trying to dereference my hash of hashes but post dereferencing, it seems to lose its structure I am using Data::dumper to help me anaylise.
This is the code im using to build the HoH, (data comes from a file). I have also performed a Dumper on the data structure before and after... (1 Reply)
Hi,
I have an hashes of hash, where hash is dynamic, it can be n number of hash. i need to compare data_count values of all .
my %result (
$abc => {
'data_count' => '10',
'ID' => 'ABC122',
}
$def => {
'data_count' => '20',
'ID' => 'defASe',
... (1 Reply)
I'm filling in a table of values for grades. I decided to go with reading into a hash from the files but I'm coming up with an error when printing a value that does not exist. I need to know if I can on-the-fly print a space (" ") or blank in place of the grade.
Here's what the output should... (2 Replies)
Hello experts. I'm having problems with a snippet of code.
I was hoping to get help/advice to correct.
A file that this script parses has changed to the point where
I can no longer use a scalar, it looks as though I need to
create an array for a hash of hashes below.
The first output of... (1 Reply)
Hello.
System : opensuse leap 42.3
I have a bash script that build a text file.
I would like the last command doing :
print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt
where :
print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies
LEARN ABOUT OPENSOLARIS
webmin
webmin(1m)webmin(1m)NAME
webmin - A httpd based system administration tool.
DESCRIPTION webmin(1m) consists of a main server daemon, CGI and PERL files to perform the operations, and configuration files to manage site-specific
information.
FILES
The following files specify the installation locations for webmin:
/etc/webmin
Contains server and module configuration files.
A newly-installed or upgraded server must be configured before use. This is handled by the webminsetup(1m) script. A running
server can be reconfigured through the web interface. Configuration files should not be modified directly.
/var/webmin
Default location for the webmin log files
SECURITY webmin(1m) uses pam(3PAM) with the service name webmin for authentication and account management.
FAULT MANAGEMENT RESOURCE IDENTIFIER
svc:/application/management/webmin:default
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+--------------------+-----------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+--------------------+-----------------+
|Availability | SUNWwebminr, |
| | SUNWwebminu |
+--------------------+-----------------+
|Interface Stability | External |
+--------------------+-----------------+
SEE ALSO webminsetup(1m), attributes(5)
http://www.webmin.com
NOTES
In addition to the documentation and man pages included with Solaris, more information is available at
http://www.webmin.com
30 Oct 2004 webmin(1m)