Search Results

Search: Posts Made By: Prahlad
4,353
Posted By Prahlad
Hi, Let me try to answer your questions. ...
Hi,

Let me try to answer your questions.

#1 What is the command to copy files from 1 Unix machine to another Unix machine, providing that the 2 machines are in the same network.

Ans: SCP...
6,084
Posted By Prahlad
Thank you all for reply. :) I will try both...
Thank you all for reply. :)

I will try both solutions.

Thanks,
6,084
Posted By Prahlad
How to find files which has more than one occurance of pattern
Hello Everyone,

Please help me in finding out the solution.

The problem is .. lets say i have 600 files in a directory. All 600 files are shell script files. Now i need to find out the files...
4,229
Posted By Prahlad
---------- awk...
----------
awk 'max<$2-$3{max=$2-$3;s=$0}END{print s}'
-----------


Hello danmero,

Yes , it works great. :)

Could u plz share the logic with me ?

Thanks,
4,229
Posted By Prahlad
Dear Franklin52, Yea sure i will give it a...
Dear Franklin52,

Yea sure i will give it a try. :)

Thank u very much for ur reply.

Thanks,
:)
4,229
Posted By Prahlad
Dear Franklin52, Thank you for answering me....
Dear Franklin52,

Thank you for answering me.

Can we write a script if we do not consider that ? If yes please let me know.

Thanks,
4,229
Posted By Prahlad
How to match two fields
Hello Every one,

I am in need of all ur's help.

Let me straight explain the problem ..


I have a file "player" which contains three players with their NAME , RUN and ECONOMY rate.
...
15,707
Posted By Prahlad
If you have only one or limited patter to replace...
If you have only one or limited patter to replace then it can be done easily with sed as explained earlier.

Please follow the steps.

--------
1) Save thispatternthatpattern in a file called...
15,707
Posted By Prahlad
Hello Metalwarrior, Do you have any sigle...
Hello Metalwarrior,

Do you have any sigle pattern to replace ?

Or any patter which contains 3 or more than characters ?

Thanks,
5,299
Posted By Prahlad
hi, You can use following command. ...
hi,

You can use following command.

--------
cd ~username
--------

But as you mentioned you don't to use CD at all. I dont think that would be possible.

Thanks,
15,707
Posted By Prahlad
Hello, I can help you with 1st query , where...
Hello,

I can help you with 1st query , where you are trying to change "123test123" to "(123)test(123)" .

This can be done easily using SED .

----------
Syntax: sed -e 's/\(123\)/(\1)/g' ...
Showing results 1 to 11 of 11

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