Search Results

Search: Posts Made By: Girish19
19,941
Posted By Girish19
We are actually creating a script to validate scp...
We are actually creating a script to validate scp conn. So if i create a test file and transfer means there are chances of some invalid files in the target servers.

I don't want to trouble the...
19,941
Posted By Girish19
@rbatte1 Thanks for your response. But i am...
@rbatte1 Thanks for your response. But i am looking for a way to test scp without transferring file.
19,941
Posted By Girish19
Validating scp connection
Hi Team,

I have 2 servers Server-A & Server-B.

Is there any way to test scp connection between Server-A & Server-B without transferring file?

Basically i want to test the availability of scp...
2,513
Posted By Girish19
Convert a string to epoch time
Team,

I am working on a shell script and i am extracting a date string in "SunOS server" with below format.


Mon Jan 21 04:13:48 EST 2021


Can you please assist me the best way to convert...
5,113
Posted By Girish19
MQ Queue depth.
Hi All,

We have SuoOs and Linux servers.

May i know how do we find the queue depth of IBM MQ from server.
6,191
Posted By Girish19
$ ssh gcidev@nygsmartp01 "date" WARNING. You...
$ ssh gcidev@nygsmartp01 "date"

WARNING. You have accessed a private computer system.
Unauthorized access,use,connection,or entry is not permitted
and constitutes a crime punishable by law. We...
6,191
Posted By Girish19
Please find the details. $ ssh -q...
Please find the details.




$ ssh -q gcidev@nygsmartp01 "/gci/support/bin/BonyCash.ksh"
tset: standard error: Invalid argument

$ uname -a
Linux nygsmartp01 2.6.32-504.16.2.el6.x86_64 #1...
6,191
Posted By Girish19
Below is the complete error. tset: standard...
Below is the complete error.

tset: standard error: Invalid argument
6,191
Posted By Girish19
Error in SSH output.
Hi All,

I am using below command in a shell script.


ssh -q RemoteUser@RemoteServer "/export/sctipt/test.ksh"



It is executing succesfully but the below is the output getting displayed....
4,256
Posted By Girish19
Ip iddresses were modified. Please treat below...
Ip iddresses were modified.
Please treat below as o/p of netstat -an


tcp 0 0 local_ip:583 remote_ip:1533 ESTABLISHED
tcp 0 0 local_ip:370 ...
4,256
Posted By Girish19
netstat output
Hi Team,

Below is the output of netstat -an | grep 1533


tcp 0 0 17.18.18.12:583 10.3.2.0:1533 ESTABLISHED
tcp 0 0 17.18.18.12:370 10.3.2.0:1533 ...
8,678
Posted By Girish19
Sort tags in an xml file
Hi All,

Below is an extract from xml. Here the pattern of the tags is not uniform.
i.e., For user A --> name,id,add isthe series
For user B --> id,name,add is the series



<name>A<\name>...
1,589
Posted By Girish19
Best way to point/update a file during PROD and BCP failover.
Hi All,

In UNIX servers we are switching from DR to PROD. After switching to DR
we need to update some configuration files which contains the server names.

Ex - If we switch to BCP we need to...
2,513
Posted By Girish19
Thanks again sir :)
Thanks again sir :)
2,513
Posted By Girish19
Yes i got it. Thats amazing. It is working...
Yes i got it.

Thats amazing. It is working :)

If you dont mond can you please explain me what is done in the command..
2,513
Posted By Girish19
Hi R.Singh thanks for quick reply. It was...
Hi R.Singh thanks for quick reply. It was throwing error..
2,513
Posted By Girish19
Search for a tag and display a message if not found.
Hi All,

I am working with a XML file.

Below is part for the file.


<Emp:Profile>
<Emp:Description>Admin</Emp:Description>
...
5,315
Posted By Girish19
Yes it is working now. I am passing wrong array....
Yes it is working now. I am passing wrong array. Hence it was not working.

Also one more question can we pass multiple arrays and catch them in a function?

FCT1 ${val1[@]} ${val2[@]} ${val3[@]}
5,315
Posted By Girish19
Yes i have tried that option also. In...
Yes i have tried that option also.

In function i tried displaying the values as $1, $*, $@ et.., but not able to display the values
5,315
Posted By Girish19
Pass array to a function and display the array
Hi All


I have multiple arrays like below.

set -A val1 1 2 4 5
set -A val2 a b c d
.
.
.

Now i would like to pass the individual arrays one by one to a function and display/ do some...
9,280
Posted By Girish19
AT00003.bin attachment is received from mailx command.
Hi Team,

I am sending a mail from Linux box as shown below.


cat sample.log | mailx -s "Testing" abc.com


But instead of receiving the content of sample.log in the mail i got an attachment...
1,679
Posted By Girish19
Terminate scp when user not enter the password.
Hi All,

Is there any way to terminate scp command when the password was not entered for some specific amount of time.
12,198
Posted By Girish19
@RudiC I would like execute a command as...
@RudiC

I would like execute a command as below.

ssh user@host " AWK Command "

But the AWK command should be flexible enough to compare the pattern with column which is passed as input.
...
12,198
Posted By Girish19
Yes it works. Can you please help me if i...
Yes it works.

Can you please help me if i want to execute the same on remote server?
12,198
Posted By Girish19
Pass column number as variable to awk and compare with a string.
Hi All,

I have a file test.txt.

Content of test.txt :

1 vinay se
2 kumar sse
4 kishore tl

I am extracting the content of file with below command.


awk '$2 ~ "vinay" {print $0}'...
Showing results 1 to 25 of 67

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