Search Results

Search: Posts Made By: saifurshaon
Forum: Red Hat 11-29-2011
4,377
Posted By saifurshaon
@all, One thing I missed to inform that my...
@all,
One thing I missed to inform that my office network is wifi enabled and we connect to the servers (which is in different location) through this wireless lan. Is this any problem?

@mark54g:...
Forum: Red Hat 11-27-2011
4,377
Posted By saifurshaon
Sorry. It's my mistake to get the question. My...
Sorry. It's my mistake to get the question.
My Machine OS: Windows 7 32bit
X Window software: Hummingbird Exceed
Forum: Red Hat 11-26-2011
4,377
Posted By saifurshaon
Already mentioned man.
Already mentioned man.
Forum: Red Hat 11-26-2011
4,377
Posted By saifurshaon
XWindow is not enabling !!!
Dear Experts,
Our system admin is struggling over a month with an issue regarding xwindow. RHEL 5.4 is our server OS. whenever I export Display with my machine IP and run xclock. It is not working....
3,118
Posted By saifurshaon
Okay at last i had the solution. I just put and...
Okay at last i had the solution. I just put and it worked

sed 's/[^ ]* \([^,]*\),.*TID:\([A-Z][0-9]*.[0-9]*.[0-9]*\).*MNO:\([0-9]*\).*TTIN:\([0-9]*\).*/\1, \2, \3, \4/g'
3,118
Posted By saifurshaon
Dear All, Still I can't resolve this issue ...
Dear All,
Still I can't resolve this issue
The file's content is like this (there is 4 spaces after the variable followed by comma)
2009-03-14 22:00:03,420 ::...
2,591
Posted By saifurshaon
Passing non Awk Argument in Awk
Dear Conerned,
I am facing a situation where i need to pass an argument which is non-awk variable like

day=090319
awk '/TID:R/ && /TTIN:/' transaction.log

I want to add this day variable like...
11,348
Posted By saifurshaon
file contains A:T00 B:88 C:78 D:00 A:Y00 B:88...
file contains
A:T00 B:88 C:78 D:00
A:Y00 B:88 C:78
A:T00 B:88 C:78 D:60
A:T00 B:88 C:78

bash-2.05$ awk '{if(/A/) {if(/D/) print $0 }}' multigrep.txt
awk: syntax error near line 1
awk:...
3,118
Posted By saifurshaon
T will persist.
T will persist.
3,118
Posted By saifurshaon
not working :confused: There is an Alphabet...
not working :confused:

There is an Alphabet after TID:T
so is the sed command is rite one?
11,348
Posted By saifurshaon
Hi Summer, actually you are rite. But what I am...
Hi Summer, actually you are rite. But what I am seeking for is the previous example.if A: and D: both are found in a line it needs to be shown.
3,118
Posted By saifurshaon
I don't know why it is not working. every thing...
I don't know why it is not working. every thing is okay but ..

2009-03-14 22:00:03,420 ::...
11,348
Posted By saifurshaon
Thanks to all of you. Just of being curious is...
Thanks to all of you. Just of being curious
is it possible to grep with multiple condition (like and operation) like

A:T00 B:88 C:78 D:00
A:Y00 B:88 C:78
A:T00 B:88 C:78 D:60
A:T00 B:88 C:78...
3,118
Posted By saifurshaon
this solution is superb. but one problem in...
this solution is superb. but one problem in regular expression. that is if
TID:T009.998.3333 like this
then this code is not working?
3,118
Posted By saifurshaon
Script Optimization required
Dear All,
Sorry to bother you. But I tried the below problem but didn't come up a good solution. A have a file containing such info

2009-03-14 22:01:01,430 ::...
11,348
Posted By saifurshaon
Thanks to all of you :b: egrep worked !!!
Thanks to all of you :b:
egrep worked !!!
11,348
Posted By saifurshaon
multiple search keyword in grep
Dear All,
I have a file containing info like
TID:0903 asdfasldjflsdjf
TID:0945 hjhjhkhkhkh
TID:2045 hjhjhkhkhkh
TID:1945 hjhjhkhkhkh
TID:2045 hjhjhkhkhkh


I need to show only lines...
2,571
Posted By saifurshaon
Oh. Yah I am now clear :). Thanks a lot.
Oh. Yah I am now clear :). Thanks a lot.
2,571
Posted By saifurshaon
Actually I am little bit confused about substr()...
Actually I am little bit confused about substr() param list. If the line contains more than 12 parameter. and if i need the same thing for an interim parameter in that I case I can't get the code.
2,571
Posted By saifurshaon
Dear rikxik, In your code there is a limitation...
Dear rikxik,
In your code there is a limitation I think. That is the last parameter of a line may be of 2 or 3 digits. So if it is 3 what will be the outcome?
2,571
Posted By saifurshaon
Dear otheus, Thanks for this nice way.. But I...
Dear otheus,
Thanks for this nice way.. But I can't get the sort option and where is the mentioning of input file?
1,360
Posted By saifurshaon
Thanks it works.
Thanks it works.
2,571
Posted By saifurshaon
Idea Required for such findings
Dear All,
I have a file containing
2009-03-04-0001,144,144,0,0,0,0,0,0,0,50,50
2009-03-04-0002,194,194,0,0,0,0,0,0,0,40,40
.........
2009-03-04-0059,134,134,0,0,0,0,0,0,0,60,60...
1,360
Posted By saifurshaon
Error is not understood
Dear Friends,

#!/bin/bash

linecount=`wc -l $1`
echo $linecount
x=1;
while [$x -le $linecount]
do
estart=`sed "${x}q;d" $1|cut -d "|" -f 1`
x='expr $x+1'
echo $estart;
done


This is...
4,011
Posted By saifurshaon
Thanks to all of you. At last it is done. Special...
Thanks to all of you. At last it is done. Special thanks to Mr. chebarbudo (https://www.unix.com/members/302052570.html).
Showing results 1 to 25 of 33

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