04-19-2014
Does your find command give any output (-name *.properties while the file extension seems to be property)?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi
I nned cmd to which will help me to replace a line in file with blank line
e.g.
file1
a
b
c
d
e
after running cmd I shud get
file1
b
c
d
e (5 Replies)
Discussion started by: tarunn.dubeyy
5 Replies
2. Shell Programming and Scripting
Hi All,
I have a file, let's call it "info.tmp" that contains data like this ..
ABC123456
PCX333445
BCD789833
I need to read "info.tmp" and for each line add strings in a way that the final output is
put /logs/ua/dummy.trigger 'AAA00001.FTP.XXX.BLA03A01.xxxxxx(+1)'
where XXX... (5 Replies)
Discussion started by: Andy_ARG
5 Replies
3. Shell Programming and Scripting
Hi Experts,
I had to edit (a particular value) in header line of a very huge file so for that i wanted to search & replace a particular value on a file which was of 24 GB in Size. I managed to do it but it took long time to complete. Can anyone please tell me how can we do it in a optimised... (7 Replies)
Discussion started by: manishkomar007
7 Replies
4. Shell Programming and Scripting
i have few lines in a file... i am reading them in a while loop so a particular line is held is $line1.. consider a modified line is held in $line2.... i want to replace $line1 with $line2 in the same file... how to do it..?
i have come up till the below code
sed "s/$line1/$line2/g" tmpfile.sql... (5 Replies)
Discussion started by: vivek d r
5 Replies
5. Shell Programming and Scripting
Hi
I am not the best scripter in the world and have run into a issue which you might be able to guide me on...
I have two files.
File1 :
A123, valueA, valueB
B234, valueA, valueB
C345, valueA, valueB
D456, valueA, valueB
E567, valueA, valueB
F678, valueA, valueB
File2:
C345,... (5 Replies)
Discussion started by: luckycharm
5 Replies
6. Shell Programming and Scripting
Hi All,
I want to repalce each line of a file by a constant value using awk. I do not need to match the pattern and replace and I also do not need to perform replace for selected lines of file. Every line in the file will be replace by the constant value.
I searched every where and did not... (2 Replies)
Discussion started by: angshuman
2 Replies
7. Shell Programming and Scripting
Hi,
I want to achieve something similar to what described in another post:
The difference is I want to add the line if the pattern is not found.
File 1:
A123, valueA, valueB
B234, valueA, valueB
C345, valueA, valueB
D456, valueA, valueB
E567, valueA, valueB
F678, valueA, valueB
... (11 Replies)
Discussion started by: jyu3
11 Replies
8. Shell Programming and Scripting
HI
Can any one guide me how to achieve this task. I have 2 files
env.txt
#Configuration.Properties values
identity_server_url = http://identity.test-hit.com:9783/identity/service/user/register
randon_password_length = 6
attachment_file_path = /pass/temp/attachments/... (1 Reply)
Discussion started by: nikilbr86
1 Replies
9. Shell Programming and Scripting
Sed command to replace a line in a file using line number from the output of a pipe.
Is it possible to replace a whole line piped from someother command into a file at paritcular line...
here is some basic execution flow..
the line number is 412
lineNo=412
Now i have a line... (1 Reply)
Discussion started by: vivek d r
1 Replies
10. Shell Programming and Scripting
Hey,
i have been struggeling to find the answer myself so this is the best forum
has alwyas help me :)
i have an API that get data from a provider via curl.
the data comes like this :
AccountCode1234 CompneyNameA Credit: 200
AccountCode5678 CompneyNameB Credit: 200
AccountCode999... (3 Replies)
Discussion started by: batchenr
3 Replies
LEARN ABOUT SUNOS
delete-jdbc-connection-pool
asadmin-delete-jdbc-connection-pool(1AS) User Commands asadmin-delete-jdbc-connection-pool(1AS)
NAME
delete-jdbc-connection-pool - removes the JDBC connection pool
SYNOPSIS
delete-jdbc-connection-pool --user admin_user [--password admin_password] [--host localhost] [--port 4848] [--secure|-s] [--passwordfile
filename] [--terse=false] [--echo=false] [--interactive] [--cascade=false] connection_pool_ID
Removes the JDBC connection pool. 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.
--echo setting to true will echo the command line statement on the standard output.
--interactive prompts you for the required options that are not already specified.
--cascade If set to true, deletes all the connector resources associated with the pool, apart from the pool itself. If set to
false (default), the deletion of the pool fails if there are any resources associated with the pool. Either the
resource has to be deleted explicitly, or set the option to true.
OPERANDS
connection_pool_id name of the JDBC connection pool to be deleted.
Example 1: Using the delete-jdbc-connection-pool command
asadmin> delete-jdbc-connection-pool --user admin
--password adminadmin --host fuyako port 7070 XA_connection_pool
Deleted the JDBC connection pool resource with id = XA_connection_pool
Where: the XA_connection_pool resource is deleted.
EXIT STATUS
0 command executed successfully
1 error in executing the command
asadmin-create-jdbc-connection-pool(1AS), asadmin-list-jdbc-connection-pools(1AS)
J2EE 1.4 SDK March 2004 asadmin-delete-jdbc-connection-pool(1AS)