Search Results

Search: Posts Made By: adc22
25,474
Posted By adc22
Thanks Ygemici, it worked like magic :). I'm...
Thanks Ygemici, it worked like magic :).
I'm just trying to understand the code. Could you please explain me what
if($0~x){if($0~x s"$") actually does .
Thanks.
25,474
Posted By adc22
Thanks Rangarasan for the help. I tried with the...
Thanks Rangarasan for the help. I tried with the solution that you provided. But I got all the matching lines, -

$ sed -n '/meta#/p;s/.*\(meta#[7][7]*\).*/\1/g' expression.txt
04/05/2012 7:21 PM ...
25,474
Posted By adc22
How to grep the exact string / word ?
Hi All,
I have a text / log file which contains strings like meta777, 77, meta, 777. Now I want to write a script which can detect a string 'meta#777' in a text file & number of occurence of 'meta',...
2,215
Posted By adc22
you can try this also - cat <file> | sed 's/_/...
you can try this also -
cat <file> | sed 's/_/ /1'| sed 's/_/ /1'
7,842
Posted By adc22
thanks methyl.
thanks methyl.
7,842
Posted By adc22
Today in a interview a senior person asked me...
Today in a interview a senior person asked me this and I was not sure about the answenrs. I should have posted these questions yesterday :(
7,842
Posted By adc22
by 'how much' I meant how many times. eg, echo...
by 'how much' I meant how many times. eg, echo "hello unix.com" | cut -f1 -d"." | grep 'unix' , here I used pipe twice. like wise can I pipe 50 or 60 or may be 100 times,eg, some command | some...
7,842
Posted By adc22
how much we can pipe in shell prompt ?
Hi All experts, I was asked some questions of late & i was not aware of these. 1Q. how much we can pipe in shell prompt ?2Q. how many arguments we can pass in shell script & how to print that ? (eg,...
3,713
Posted By adc22
unable to install xdiff utility in Ubuntu7.10
Hello Experts,
Recently I tried to install xdiff program in my Ubuntu7.10. I downloaded xdiff-ext-0.2.0 from Download xdiff-ext 0.2.0 for Linux - Compare files easily - Softpedia...
11,021
Posted By adc22
Difference between 'jobs' and 'process'
Hi Everyone,

Can you kindly explain me the terms 'jobs' and 'process' and the difference between them? How the commands 'ps' and 'lsof' are related to them?
Thanking you in anticipation
Forum: Ubuntu 04-08-2009
4,107
Posted By adc22
Hi pludi, You are right. This problem can be...
Hi pludi,

You are right. This problem can be solved with the help of LIVE-CD. I got a useful link which helped me to solve this. The link is - OpenSourceNuts.Com | Section-1...
Forum: Ubuntu 04-07-2009
4,107
Posted By adc22
Dual booting problem with XP-Pro
Hi Everyone,
I was using XP-Home along with Ubuntu (dual booting) in my laptop. At the booting screen the Grub loader used to show me like this-

Ubuntu
Other operating system
Inside 'Other...
Forum: Solaris 11-22-2008
32,599
Posted By adc22
sorry for that style . I apologize .
sorry for that style . I apologize .
Forum: Solaris 11-22-2008
32,599
Posted By adc22
Thanks Tytalus, I just now tried ps -ef in...
Thanks Tytalus,
I just now tried ps -ef in cygwin . it showd me PID 1 of a command /usr/bin/bash .
is it you r referring to ?
b t way can u give a short information on sched as i am not aware...
3,535
Posted By adc22
The script is - #!/cygdrive/c/Perl/bin/perl ...
The script is -

#!/cygdrive/c/Perl/bin/perl

$var=3 ;
printf $var;

@list=(1,2,3);
printf "@list";
---------------------------
the error i get in cygwin is -

bash: = 3: command not...
3,535
Posted By adc22
The script is - #!/cygdrive/c/Perl/bin/perl ...
The script is -

#!/cygdrive/c/Perl/bin/perl

$var=3 ;
printf $var;

@list=(1,2,3);
printf "@list";
---------------------------
the error i get in cygwin is -

bash: =
3,535
Posted By adc22
==================================================...
===================================================


Thanks jim
Which perl on my cygwin gives
cygdrive/c/Perl/bin/Perl

But even if I use this line I get the previously mentioned errors...
Forum: Solaris 11-22-2008
32,599
Posted By adc22
Which job has PID 0 ?
Hi everyone.
I want to know which job has PID 0 ? If I do 'ps -all' cmd why dont I see in terminal.
Thanks in advance .
3,535
Posted By adc22
Perl cmds doesn't work in Bash shell . Plz help
Hi everyone,
I have a Linux OS in my PC (older version 9). Its default shell is bash. Whenever I try to run some Perl program it throws error ! eg, if I run this simple PERL program ,
...
Showing results 1 to 19 of 19

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