Hi,
I have a file contains attribute value pair like..
..name=erick rollno=583.0 pass=recon..
From the above line, i need to grep for only "rollno" and store "rollno=583.0" in a variable.
Pls suggest (6 Replies)
Greetings,
I am very new to the UNIX shell scripting and would like to learn. However, I am currently stuck on how to process the below sample of code from an XML file using UNIX comands:
<ATTRIBUTE NAME="Memory" VALUE="512MB"/>
<ATTRIBUTE NAME="CPU Speed" VALUE="3.0GHz"/>
<ATTRIBUTE... (5 Replies)
Hi All,
Please help me out in resolving this..
<secondTag enabled='true' processName='test1' pidFile='/tmp/test1.pid' />
From the above tag, I'm trying to retrieve the value of enabled and pidFile attributes by means of processName attribute.
Would be thankful in resolving this..... (5 Replies)
Hi,
I've got a situation where I need to read the values from XML tags in a file. Please find the sample xml code below:
<entity>
<name>Testing</name>
<number>11</number>
<template>testing.testing</template>
</entity>
<entity>
<name>Development</name>
<number>13</number>... (13 Replies)
Hi unix Gurus,
I am really new to Unix Scripting. Please help me to create a shell script which reads the xml file and from that i need to fetch a particular information.
For example
<SOURCE BUSINESSNAME ="" DATABASETYPE ="Teradata" DBDNAME ="DWPROD3" DESCRIPTION ="" NAME... (2 Replies)
Hi,
I have a file service.xml which has following content:
<?xml version="1.0" encoding="UTF-8"?>
<Service Ver="2.31.13"/>
I want to read the value of Ver (that is 2.31.13) and assign to a variable which i further use.
Please help me in that. (3 Replies)
<Start>
<Header>
This is header section
</Header>
<Body>
<Body_start>
This is body section
<a>
<b>
<c>
<st>111</st>
</c>
<d>
<st>blank</st>
</d>
</b>
</a>
</Body_start>
<Body_section>
This is body section (3 Replies)
Hi Forum.
I have an XML file with the following requirement to move the <AdditionalAccountHolders> tag and its content right after the <accountHolderName> tag within the same file but I'm not sure how to accomplish this through a Unix script.
Any feedback will be greatly appreciated.
... (19 Replies)
Discussion started by: pchang
19 Replies
LEARN ABOUT CENTOS
firewalld.icmptype
FIREWALLD.ICMPTYPE(5) firewalld.icmptype FIREWALLD.ICMPTYPE(5)NAME
firewalld.icmptype - firewalld icmptype configuration files
SYNOPSIS
/etc/firewalld/icmptypes/icmptype.xml
/usr/lib/firewalld/icmptypes/icmptype.xml
DESCRIPTION
A firewalld icmptype configuration file provides the information for an Internet Control Message Protocol (ICMP) type for firewalld.
This example configuration file shows the structure of an icmptype configuration file:
<?xml version="1.0" encoding="utf-8"?>
<icmptype>
<short>My Icmptype</short>
<description>description</description>
<destination ipv4="yes" ipv6="yes"/>
</icmptype>
OPTIONS
The config can contain these tags and attributes. Some of them are mandatory, others optional.
icmptype
The mandatory icmptype start and end tag defines the icmptype. This tag can only be used once in an icmptype configuration file. This tag
has optional attributes:
version="string"
To give the icmptype a version.
short
Is an optional start and end tag and is used to give an icmptype a more readable name.
description
Is an optional start and end tag to have a description for a icmptype.
destination
Is an optional empty-element tag and can be used only once. The destination tag specifies if an icmptype entry is available for IPv4 and/or
IPv6. The default is IPv4 and IPv6, where this tag can be missing.
ipv4="bool"
Describes if the icmptype is available for IPv4.
ipv6="bool"
Describes if the icmptype is available for IPv6.
SEE ALSO firewall-applet(1), firewalld(1), firewall-cmd(1), firewall-config(1), firewalld.conf(5), firewalld.direct(5), firewalld.icmptype(5),
firewalld.lockdown-whitelist(5), firewall-offline-cmd(1), firewalld.richlanguage(5), firewalld.service(5), firewalld.zone(5),
firewalld.zones(5)NOTES
firewalld home page at fedorahosted.org:
http://fedorahosted.org/firewalld/
More documentation with examples:
http://fedoraproject.org/wiki/FirewallD
AUTHORS
Thomas Woerner <twoerner@redhat.com>
Developer
Jiri Popelka <jpopelka@redhat.com>
Developer
firewalld 0.3.9 FIREWALLD.ICMPTYPE(5)