Search Results

Search: Posts Made By: kiranreddy1215
3,745
Posted By kiranreddy1215
hi chris, am trying to use your command but...
hi chris,

am trying to use your command but getting the following error !

tcenh253!omsrec:~/infraBin/logs/tmp [8]> sed -n '/JMS message rec/{g;1!p;};h' ompeJMSServerB.log.20081207004201 | wc...
3,745
Posted By kiranreddy1215
hi chris, i tried your command , its not giving...
hi chris,
i tried your command , its not giving the output

can you explain me the command " {g:1!p;};h "

$ sed -n '/JMS message rec/{g;1!p;};h' ompeJMSServerB.log.20081202004203 | head -2
...
3,745
Posted By kiranreddy1215
thanks you very much every one , for the help
thanks you very much every one , for the help
3,745
Posted By kiranreddy1215
fast way to retreive a list of lines
hi there,

i have to read lines [ time-stamps ] from the file, where the line is just above the pattern am looking for
typically this looks like this

<time-stamp>|-----
<pattern am...
3,854
Posted By kiranreddy1215
hi , please note the syntax changes per shell...
hi ,
please note the syntax changes per shell , you have not mentioned the shell
i will tell how to do it in ksh

if [ "$x" = "11" ];then
if [ "$x" = "31" ] ;then
<<do something >>> ...
1,566
Posted By kiranreddy1215
hi sorry my freind it seems there is need...
hi
sorry my freind
it seems there is need for some more clarity in your question ,

ok what i under stood is u want to serach a file with pattern "2392" and a .html file ,
now so u want to...
34,887
Posted By kiranreddy1215
hi , i dont know whether i understood correctly...
hi ,
i dont know whether i understood correctly ,

if there is an update in a log-file then u want to run a shell-script [which does something ] !!

i will do this in a simple way by running a...
4,778
Posted By kiranreddy1215
serach and replace a specific pattern or value in a xml file
can some one help me with a perl command

i have to search and replace a version from a xml-file
so i use in a ksh script a command like this
ssh $GLB_ACC@$GLB_HOST "/usr/contrib/bin/perl -pi...
4,683
Posted By kiranreddy1215
i think if you want to find file names with...
i think if you want to find file names with spaces in the name , you use some thing like this
nbsch013:omsdist:/tstusr1/tsa/oms/tst/omsdist/old/TEMP> ls
a a b ab b...
10,902
Posted By kiranreddy1215
hi , thank you very much for your suggetions ,...
hi ,
thank you very much for your suggetions , but still no luck yet
i have tried all combinations

wblvq2ol2s-opern:/pet2/opern> scp L\\+:KILA.csv sqa2wrk2@tcenh038:.
ssh: L+: no address...
10,902
Posted By kiranreddy1215
cannot copy file using scp when filename has ":"
hi all ,

does any one know how can we copy a file using scp which have a file name inlcuding "+:"
example :

ls -lrt *.csv | tail -3
-rw-r----- 1 opern oper 8479 Feb 15 15:39...
4,105
Posted By kiranreddy1215
serach and replace file name in the path in a remote xml file
hi every one ,

here is my problem !!

i have to run my script from an account and update the result in a xml file located on a different account. i use existing ssh keys to do it remotely
...
Showing results 1 to 12 of 12

 
All times are GMT -4. The time now is 07:12 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy