Search Results

Search: Posts Made By: sudharson
1,419
Posted By sudharson
Thanks for the reply. Sorry i should have been...
Thanks for the reply. Sorry i should have been more specific.

This is an expect script which internally calls another expect script to reset password on multiple servers by passing userid ,...
1,419
Posted By sudharson
Expect Redirecting o/p to an Variable
I have a password reset expect script which stores all the op to an file. I need to check the whether password is successfully changed by greping out the file and storing the o/p to a variable.
...
3,519
Posted By sudharson
Password reset script
Hi all,

I am using an command which reset the password for the user, its working fine on Solaris boxes but sometimes the samw was not happening on some of linux boxes.

/bin/echo username |...
3,748
Posted By sudharson
meaning of <<!
Hi all,

I wanna know the meaning of the last word "<<! "

sudo su - user <<!

please help on this !!!!
1,705
Posted By sudharson
thanks for ur reply Corona688 and...
thanks for ur reply Corona688 and michaelrozar17, but i really didnt get what i expected .
ok may be, i will explain little further . i have file thats look like below


like that there are...
1,705
Posted By sudharson
Printing the lines using search patterns
Hi all ,

i need an help here.!!!! i have a file that contains /etc/passwd files from some servers.



i need a script which search for presence of a user in the servers.
like if i give...
1,051
Posted By sudharson
pravin i got below error awk:...
pravin i got below error



awk: syntax error near line 1
awk: bailing out near line 1



:(:(:(
1,051
Posted By sudharson
Comparison and deletion of lines between two files
Hi i need an help. I have two files list1 and list2, both contains the server names i want to delete the servers in list2 which were also found in list1.

for an eg


list2 list1...
1,753
Posted By sudharson
Chubler_XL getting error; awk:...
Chubler_XL

getting error;

awk: syntax error near line 2
awk: bailing out near line 2



rdcwayx

thanks it works fine
1,753
Posted By sudharson
filtering the rows in a file
hi all,

please help on this isssue, i have a file which contains something like this



and i want to seprate the servers which has vasd.pid ,i need only server names.

i want output...
6
2,212
Posted By sudharson
this works fine, thanks for u help binlib :):):)
this works fine, thanks for u help binlib :):):)
6
2,212
Posted By sudharson
sorry for late reply. now its working fine....
sorry for late reply. now its working fine. Thanks guys
6
2,212
Posted By sudharson
echo
hi,

i am facing an issuse in echo with double quates " " .


while read i
do
uid=`echo $i | awk '{print $3}'`
login=`echo $i |awk '{print $2}'`
name=`echo $i | awk '{print $1}'`
echo...
1,801
Posted By sudharson
thanks pludi, now its working fine :):):)
thanks pludi, now its working fine :):):)
1,801
Posted By sudharson
hi pludi, thanks for ur tips. after...
hi pludi,

thanks for ur tips.

after adding the ' ' script works fine now.

But in the while loop script, it just collects the information only from 1 server.
say i have

server1...
1,801
Posted By sudharson
logging into server and excute commands
hi all,

I am new to unix and unix scipting. i need a script to logging into servers and to excute some commands in each server.

for eg :

I tried with below script ,but cant get the...
Showing results 1 to 16 of 16

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