Search Results

Search: Posts Made By: suresh3566
Forum: AIX 09-30-2016
1,014
Posted By suresh3566
IP address not capturing in autil trails
Hi,

I have AIX 6.1 server. unfortunately IP address of client is not capturing when logged with SSH, where as it is showing when logged with Telnet.

Any configuration required in...
2,689
Posted By suresh3566
Script contains ... find...
Script contains ...

find /amaz_backup/export/AAA/ /amaz_backup/export/BBB/ /amaz_backup/export/CCC/ -print | backup -v -i -f /dev/rmt0 ; echo $?



Please use code tags as required by forum...
2,689
Posted By suresh3566
How to pass Enter key stroke , tried all options?
Hi Friends,

I am unable to pass Enter key stroke to shell script. Tried all options, but no luck.
Please help..

Script: bkpscript.sh

tam01# ./bkpscript.sh < file.txt
Mount volume 1 on...
5,761
Posted By suresh3566
CGI script using ssh
Hi Friends,

I am using a cgi script which calls a shell script internally. Now, I want to change it with ssh (without password). Can you please help?




Code:cat maininfo.cgi
...
1,195
Posted By suresh3566
Cgi script without password
Hi Friends,

I am using a html (CGI) script which calls a shell script internally. Now, I want to change it with ssh (without password). Is it possible?


cat maininfo.cgi

#!/usr/bin/perl -w ...
2,187
Posted By suresh3566
Thank you so much , it is working now.
Thank you so much , it is working now.
2,187
Posted By suresh3566
Hi, I tried with same user, still getting...
Hi,

I tried with same user, still getting same error. Do we need to enable any thing extra for ssh login?
2,187
Posted By suresh3566
Yes. users may differ. but, the script which my...
Yes. users may differ. but, the script which my application is using is not executing with ssh and same is working with telent login
2,187
Posted By suresh3566
Commands not working with ssh remote login
Hi Friends,

I am unable to run our application commands on remote server using ssh (passwordless login enabled). But the same command running with telent perl script. please suggest.

SSH:...
2,470
Posted By suresh3566
I would like to run an " existing menu and input...
I would like to run an " existing menu and input option " both using a shell script.
the menu based tool is a binary
2,470
Posted By suresh3566
How to include menu based options in Shell script?
Hi Friends,

I have a menu based tool which requires input/option to proceed further. How to make a shell script ?

eg: menu looks like

Get_data.sh
to continue (y/n) :


Here I need to...
Forum: Red Hat 10-12-2015
4,939
Posted By suresh3566
Password policy for root
Hi,

I am unable to enforce password complexity policy for root user. (other users are working) on RHEL 6.2. Anything wrong with system-auth parameters? PLease help..

vi /etc/pam.d/system-auth
...
1,713
Posted By suresh3566
Thanks Akshay.. It is working.
Thanks Akshay.. It is working.
1,713
Posted By suresh3566
How to execute application commands with shell script?
Hi Friends,

We have a application "getstatus" which needs to run on application prompt.
But it is not working with shell script.

Example:
Unix Root Prompt#
execute "crp" to go to application...
Forum: AIX 10-16-2014
6,928
Posted By suresh3566
I have application user abc who creates the files...
I have application user abc who creates the files in dump - directory. One more user xyz has to read the file in the directory. With 644 permission we are able to do this. I may not have root access...
Forum: AIX 10-16-2014
6,928
Posted By suresh3566
Yes Robin.. I am unable to do cd directory....
Yes Robin..

I am unable to do cd directory. I have already a directory with below permissions. Now, whatever the files generating in this directory, should generate with 644 permissions. How to...
Forum: AIX 10-16-2014
6,928
Posted By suresh3566
How to create all files generated in a directory with 644 permissions?
Hi,

We are using AIX machines. How to create all files generated in a directory with 644 permissions automatically.


Regards,
Suresh
1,996
Posted By suresh3566
Hi.. can you please share sample command???
Hi.. can you please share sample command???
1,996
Posted By suresh3566
How to dynamically fetch lines after a match?
Hi Friends,

How to fetch current hour data from a log file, given below?

I want all lines after the match "Wed Aug 13 16:"

I have tried below command, but not working. If I put exact...
762
Posted By suresh3566
Thank You so much.. It is working
Thank You so much.. It is working
762
Posted By suresh3566
Rows to columns with first field constant
Hi Friends,

I have tried many options to convert rows to column in below fashion. Can you help me pls?

input file:

kamal|1,2,3|4,5,6|7,8,9
mich|4,7,4|6,7,9
jose|1,1,2|3,3,2|5,5,0

output...
1,595
Posted By suresh3566
another example: input: z 2 z 4 x 2 ...
another example:
input:
z 2
z 4
x 2
x 5
y 1
y 3
Output:
z 2 x 2 y 1
z 4 x 5 y 3

---------- Post updated at 05:07 AM ---------- Previous update was at 05:04 AM ----------
...
1,595
Posted By suresh3566
a group of rows to be converted in to columns
a group of rows to be converted in to columns
1,595
Posted By suresh3566
Rows to Columns with match criteria
Hello Friends,

I have a input file having hundreds of rows. I want them to translate in to columns if column 1 is same.

Input data:
zp06 xxx
zp06 rrr
zp06 hhh
zp06 aaa
zp06 ggg
zp06 qwer...
Forum: AIX 05-26-2014
11,590
Posted By suresh3566
Thank You Dan. It is working....:)
Thank You Dan. It is working....:)
Showing results 1 to 25 of 80

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