Search Results

Search: Posts Made By: eamani_sun
2,001
Posted By eamani_sun
ModInverse in perl
Hi,

I am trying to calculate inverse modulus of a mod n ie.,

a ^ -1 mod n.

Is there a function in Perl that does this for me. If not, can someone help me with the code?
...
9,959
Posted By eamani_sun
Perl array of arrays
Hi,

I am trying to assign an array as a value to one of the array element, I mean

I have an array @KS and array @kr.

I want array @KS to hold @kr as an element.

So I am doin...
Forum: Red Hat 08-06-2008
5,294
Posted By eamani_sun
Rsh problem on redhat linux
Hi,

I am trying to do rsh on to a redhat EL 5 machine. It repeatedly asks me for the password and die after sometime. One might think that I am giving the wrong password. But I can do 'ssh' on...
Forum: Linux 07-09-2008
3,026
Posted By eamani_sun
Uninstalling a broken software rpm in Linux
Hi,

I have a installed a package(some X) on my linux machine. But now I want to unistall it but some of the file required for unistalltion are missing. Can someone tell me how to remove that rpm...
5,635
Posted By eamani_sun
awk on a remote machine using 'rsh'
Hi,

I want to do a awk operation on a file on a remote machine.
I am using rsh for this.

rsh <remote> awk '{print $2}' process.txt

output:

awk: syntax error near line 1
awk:illegal...
1,336
Posted By eamani_sun
Help me with sed`
Hi,

I have a file with following data in it.

root 1933 1923 localhost calm 32rhewr


I would only need 2nd column "1933" and throw everything away. how can i do it with sed?...
3,476
Posted By eamani_sun
Cut command on a remote machine using rsh
Hi all,

I have a file on a remote machine and I want to do a cut operation on that file.

So, I have been doing

rsh <remote> " cut -d " " -f 2 <filename> "
cut:...
5,626
Posted By eamani_sun
Running RSH on the background
Hi,

I am developing a script that would do a 'rsh' on a client machine.

I want to invoke a script in client machine which would keep on polling data to the server.

I want the rsh to...
13,418
Posted By eamani_sun
Setting environment variable on a remote solaris machine using shell script
Hi,

I am trying to set environment variable on a remote machine. I want to do it by running a shell script

Here's what I am doin

rsh <remote-hostname> -l root "cd /opt/newclient;...
Forum: Solaris 05-29-2008
11,165
Posted By eamani_sun
Help me with console login problem
Hi,

I have solaris 10 installed on my computer and when try to login in console mode, it would give output something like this.

login:root
Password:
Last login: Thu May 29 10:00:55 on...
Forum: Solaris 05-27-2008
10,395
Posted By eamani_sun
Installing CVS package on solaris machine
Hi all,

I am tring to install CVS on my solaris machine.

so, I got a package cvs-1.11.22-sol10-x86-local from internet, and did this

"pkgadd -d cvs-1.11.22-sol10-x86-local"

and the...
3,289
Posted By eamani_sun
Thanks yogesh
Thanks yogesh
3,289
Posted By eamani_sun
can someone help me with modifying this file
Hi,

I have a file which has data kind of like this.

Apr 13 08:20:38 uslis10a sendmail[6432]: [ID 801593 mail.info] m3DDKSx3006432: usliss26.ca.com [130.200.17.136]
Apr 13 08:20:38 uslis10b...
Forum: Red Hat 05-19-2008
5,219
Posted By eamani_sun
Setting keyboard configaration in redhat ES4
Hi,

can someone tell me how to set the keyboard configaration at console in redhat Linux ES 4.

I don't want it in x-windows mode.

Also, how can I find all the keyboard configarations...
Forum: Red Hat 05-19-2008
12,407
Posted By eamani_sun
Thanks a lot
Thanks a lot
Forum: Red Hat 05-19-2008
12,407
Posted By eamani_sun
Setting a locale in Redhat ES 4
Hi,

I am writing a shell script which would ask user to select a locale and should set the locale for them.

In the script I am doing

export LANG=<user selected locale>

and i do 'locale'...
Forum: Red Hat 05-16-2008
10,556
Posted By eamani_sun
Command to set locale for my linux machine
Hi,

I need to set a locale to my linux machine which has redhat enterprise linux 4

how should I do that.

And also when i did locale -a, I have got three versions for each locale type

with...
3,999
Posted By eamani_sun
Thanks dude, that solved my problem.
Thanks dude,

that solved my problem.
3,999
Posted By eamani_sun
Reading the particular line from the file
Hi,

I need a shell script that would read a specific line from a file.

i mean if I want to read 18th line from the file, it should get the 18th line.

Is there anyway we could do it.?
...
2,079
Posted By eamani_sun
Help me with parsing this file
Hi,

I need a shell script that would parse this file

/usr/share/i18n/locales/aa_DJ:title "Afar language locale for Djibouti (Cadu/Laaqo Dialects)."
/usr/share/i18n/locales/aa_ER:title "Afar...
Forum: Red Hat 05-16-2008
5,948
Posted By eamani_sun
Displaying the available locales in english
Hi,

I am developing a program that would ask the user to set the locale.

For that, I need to display them to user in plain english.

like

English(US)
English (Uk)
...
Forum: Linux 05-14-2008
12,569
Posted By eamani_sun
Converting source rpm to binary rpm
Hi,

I need to install an rpm file,but I only have '.src.rpm' version of it. I want to convert it to a binary rpm.

so I tried this

rpm --rebuild somethin.src.rpm

But I am gettin...
Forum: Red Hat 05-14-2008
22,739
Posted By eamani_sun
expect rpm installation!
Hi ,

I am tryin to install expect rpm on my linux machine.

I have the source file expect-5.42.1-1.src.rpm

I am doin this

rpm -ivh expect-5.42.1-1.src.rpm

But I am gettin this...
23,395
Posted By eamani_sun
How to install expect rpm?
Hi ,

I am tryin to install expect rpm on my linux machine.

I have the source file expect-5.42.1-1.src.rpm

I am doin this

rpm -ivh expect-5.42.1-1.src.rpm

But I am gettin this...
2,253
Posted By eamani_sun
shell script that would display installing.... when installign something
Hi,

I am developing a shell script that would install a software when it is run.

I want to displaying Installing <so and so>........ when it is actually installing it.

I want it to be...
Showing results 1 to 25 of 40

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