Search Results

Search: Posts Made By: Yagami
1,815
Posted By Yagami
Duplicate file in term by the name of the file or...
Duplicate file in term by the name of the file or the content of the file?

---------- Post updated at 01:39 PM ---------- Previous update was at 01:38 PM ----------

As you said duplicate files...
3
879
Posted By Yagami
Do you mean comment and executable code?
Do you mean comment and executable code?
5,505
Posted By Yagami
I think it hangs because first it try to...
I think it hangs because first it try to find/list all files within folder and then operate... if you are fine to delete that folder itself and create a new one that would speed up...

----------...
2,403
Posted By Yagami
Hi, Are you trying to match the content of...
Hi,

Are you trying to match the content of file also?

Otherwise below code will work

#!/bin/bash
file1count=`cat file1 | wc -l`
file2count=`cat file2 | wc -l`
echo File1 $file1count...
2,729
Posted By Yagami
Thanks for the help! But looks like that is also...
Thanks for the help! But looks like that is also not giving the correct Swap In Use. I have couple of servers where I want to ssh so that might be a problem. Currently I am looping in HOST names and...
2,729
Posted By Yagami
Hi, Sorry but I am not able to understand...
Hi,

Sorry but I am not able to understand the hint provided by you, can you please elaborate?

Thx.
2,622
Posted By Yagami
Agree with radoulov. First you need to generate...
Agree with radoulov. First you need to generate keys to make your ssh passwordless across machines. Once you are done with this then you can write a script that does ssh to different machines and...
2,729
Posted By Yagami
How to write code inside ssh block in shell?
Hi,

I am new to shell script. I am trying to code on shell script but not able to find the correct syntax to write the code once it comes inside ssh.

For eg:
ssh -q HOST "
...
4,573
Posted By Yagami
Thank you !! It worked fine :) Appretiate...
Thank you !!
It worked fine :)

Appretiate you quick response:b:
4,573
Posted By Yagami
Thanks a lot!! ---------- Post updated at...
Thanks a lot!!

---------- Post updated at 03:22 PM ---------- Previous update was at 01:47 PM ----------

One more question, it works well on Linux but doesnt work on Solaris:confused:

Any...
4,086
Posted By Yagami
Can you paste all the names of files in your ssh2...
Can you paste all the names of files in your ssh2 folder?
4,573
Posted By Yagami
How to remove first 100 line in a file?
Hello,

I want to find a way to remove first few line in a file in linux.
I know sed -e but the problem is that I cant redirect my output to some file and rename it because this file is created...
18,017
Posted By Yagami
Thanks for your reply! But I just wanted to...
Thanks for your reply!

But I just wanted to know Is there anything like static in shell???
2,626
Posted By Yagami
var="MeterResetReport.log DBMaint.log" for...
var="MeterResetReport.log DBMaint.log"

for i in $var

may be this would help

Thanks,
Yagami
3,731
Posted By Yagami
Static variable in shell
Hi All,

I want a static variable in shell script.

I have a script in which I want to send mail on certain condition and it happens that when that condition is met it start mailing as i have...
18,017
Posted By Yagami
Static variable in shell
Hi All,

I want a static variable in shell script.

I have a script in which I want to send mail on certain condition and it happens that when that condition is met it start mailing as i have...
8,038
Posted By Yagami
How to Compare Null values??
Hi,

Can someone help me comparing Null values.
Scenario is as follows:

I have a variable which "cache_prd" which can have either some integer or nothing(Null)

if it is integer I have to...
Forum: Solaris 05-14-2009
3,025
Posted By Yagami
Hi, I want to know the following thing: ...
Hi,

I want to know the following thing:

1. I want to know CPU Usage
2. Memory Usage
3. Multi Core Blade Usage i.e. out of 4 blades which is running and its mem usage

and if there is...
Forum: Solaris 05-14-2009
3,025
Posted By Yagami
How I can get System Performance on Solaris
Hi All,

Can someone help me out knowing all commands for getting system performance on Solaris machines.

Thanks in advance,
Yagami Light.
2,407
Posted By Yagami
How I can get System Performance Linux Red Hat
Hi All,

Can someone help me out knowing all commands for getting system performance on Linux Red hat(I hope Red hat doesn't matter).

I am aware of vmstat, sar and top.

Thanks in advance,...
Showing results 1 to 20 of 20

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