I'm new to this so please bear with me..
I have a program that generates a string of the binary data of an image. (I mean, if I take the output of the program, paste it into a text editor and save with a PNG extension, it's a valid image.)
Now I want to take this string and pipe it into a... (1 Reply)
Hi ALL,
I want to search one string “20 “ i.e 20 with space.
But my file where I am searching this “20 “ contain some data like
120 before image file truncated
220 Reports section succeeded
20 Transaction database .prd stopped
220 Reports section completed.
When I search for the... (5 Replies)
I uploaded a database file to Public_html of a virtual server using Unix and a dedicated ip address. I can reach it by browser in typing the address as xxx.xxx.xxx.xxx/Directoryname/databasename.dat . I am asked what I want to do, download or open.
When I try to reach the file via a program... (2 Replies)
Hi everybody,
I have one requirment,
i have to get the particular server name from a file.
EX:
File contents will be like below..
$cat test.txt
HostAssignments->new("server1",
[
"PS_SERVER",
"REG_SERVER",
"PS_ORACLE",
"OM_G10_AUD",
"OM_G10_CAD",
"OM_G10_CHF",
... (3 Replies)
Contents of my file is:
DI
DI
DIR
PHI
I want to extract only DI. I am using below command
grep -w DI <file>
but it is also extracting DI.
Can i use any other command to extract exact pattern where '[' does not have special meaning (4 Replies)
QUESTION1:
How do you grep only an exact string. I am using Solaris10 and do not have any GNU products installed.
Contents of car.txt
CAR1_KEY0
CAR1_KEY1
CAR2_KEY0
CAR2_KEY1
CAR1_KEY10
CURRENT COMMAND LINE: WHERE VARIABLE CAR_NUMBER=1 AND KEY_NUMBER=1
grep... (1 Reply)
Hi All,
I'm stuck with adding multiple lines(irrespective of line number) to a file before a particular xml tag. Please help me.
<A>testing_Location</A>
<value>LA</value>
<zone>US</zone>
<B>Region</B>
<value>Russia</value>
<zone>Washington</zone>
<C>Country</C>... (0 Replies)
I have a file with a lot of IP addresses in it named "address.list".
address.list looks something like this:
10.77.50.11
10.77.50.110
10.77.50.111
a bunch more addresses
For every IP address I need to grep another file to see if the IP address is in the other file:
for x in `cat... (5 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 SUNOS
asadmin-list-resource-adapter-configs
asadmin-list-resource-adapter-configs(1AS) User Commands asadmin-list-resource-adapter-configs(1AS)NAME
asadmin-list-resource-adapter-configs, list-resource-adapter-configs - lists the configuration information created in domain.xml for the
connector module
SYNOPSIS
list-resource-adapter-configs --user admin_user [--password admin_password][--host localhost] [--port 4848][--secure|-s] [--passwordfile
filename] [--terse=false] [--echo=false] [--interactive=true] [--verbose=false][--ranameconnector_module_name]
Lists the configuration information in the domain.xml for the connector module. It lists an entry called resource-adapter-config in the
domain.xml.
This command is supported in remote mode only.
OPTIONS --user authorized domain application server administrative username.
--password password to administer the domain application server.
--host machine name where the domain application server is running.
--port port number of the domain application server listening for administration requests.
--secure if true, uses SSL/TLS to communicate with the domain application server.
--passwordfile file containing the domain application server password.
--terse indicates that any output data must be very concise, typically avoiding human-friendly sentences and favoring well-
formatted data for consumption by a script. Default is false.
--echo setting to true will echo the command line statement on the standard output. Default is false.
--interactive if set to true (default), only the required password options are prompted.
--verbose if set to true the properties that are configured are also listed. Default is false.
OPERANDS
raname the value kept in the resource-adapter-name in the domain.xml file.
Example 1: Using list-resource-adapter-configs
asadmin> list-resource-adapter-configs --username admin1
--password adminadmin1
Command list-resource-adapter-configs executed successfully
EXIT STATUS
0 command executed successfully
1 error in executing the command
asadmin-create-resource-adapter-config(1AS), asadmin-delete-resource-adapter-config(1AS)J2EE 1.4 SDK March 2004 asadmin-list-resource-adapter-configs(1AS)