Search Results

Search: Posts Made By: max29583
2,352
Posted By max29583
Password encryption in RHEL
I am working on a script where we are using sqlplus command to connect to Oracle DB. But the schemaname and password used for sqlplus authentication, have to be hardcoded in the script.

...
Forum: Red Hat 02-17-2014
2,235
Posted By max29583
Postfix: emails addressed to multiple smart hosts
Hi,

I am in process of setting up a SMTP server on RHEL 6 using Postfix.

I am stuck at one point so any help would be appreciated.

I have configured my xsender to use this new SMTP server as...
1,642
Posted By max29583
Splitting a 35GB UFS file
Hi All,

I want to split the below files.

1. A 35GB text file into multiple 2GB files. Does the split utility supports 35GB files?

2. If I compress the above file it takes it down to 14GB,...
3,735
Posted By max29583
Thanks Lavascript...I wnated the 2nd solution and...
Thanks Lavascript...I wnated the 2nd solution and it Worked!!!
3,735
Posted By max29583
find command with -exec
Hi People,

I have a directory full of compressed files (.Z extention)
In many of these files there is a string pattern (3800078163033)

I want to find all file names which contain this string...
1,693
Posted By max29583
Question regarding mails from Solaris server
Hi,

I am facing a problem with the mails coming from one of my server. The server hostname is "britten" and one of its aliases is "espmgy" in /etc/hosts.

When I am sending any mail from the...
22,282
Posted By max29583
Problem with wget
Hi,

I want to download some patches from SUN by using a script and I am using "wget" as the utillity for this.

The website for downloading has a "https:" in its name as below...
1,900
Posted By max29583
I have a sql script (abhishek_to_sdw.sql) which...
I have a sql script (abhishek_to_sdw.sql) which is called by some unix shell script file. I dont know which shell script calls this sql script and I want to find that shell script.

Please help me...
1,900
Posted By max29583
Help needed with find command
Hi Guys,

Can someone help with this.

I have to find out a file name which calls the following sql script "abhishek_to_sdw.sql". In other words it contains a pattern like "abhishek_to_sdw.sql"....
3,447
Posted By max29583
Hi Sank, Ya it didn't work but thanks...
Hi Sank,
Ya it didn't work but thanks anyways...
I tried with putting ksh as the shell
#! /bin/ksh -p

and then using it like this
I=$(grep 'I.P. Address' /install/cfgdist/`uname -n`.cfg | cut...
3,447
Posted By max29583
I tried like this after searching for it in the...
I tried like this after searching for it in the forums....

I=`grep 'I.P. Address' /install/cfgdist/`uname -n`.cfg | cut -d : -f 2 | cut -d . -f 1-3 | sed s/" "//g`

But its giving the error as:...
3,447
Posted By max29583
Shell script query
Hi,

I am stuck assigning a value to a variable.
I am trying to assign a value to a variable but getting error....

IP_ADDR=grep 'I.P. Address' /install/cfgdist/`uname -n`.cfg | cut -d : -f 2|...
2,022
Posted By max29583
One more query...... I am trying to assign a...
One more query......

I am trying to assign a value to a variable but getting error....

IP_ADDR=${`grep 'I.P. Address' /install/cfgdist/`uname -n`.cfg | cut -d : -f 2| cut -d . -f 1-3| sed s/"...
2,022
Posted By max29583
Ok Thanks for the help.... Regards, Abhi
Ok Thanks for the help....

Regards,
Abhi
2,022
Posted By max29583
Small shell script help required
Hi Guys,

Please can some one explain me the below part of code. In this code what is the use of the line in Bold.

COPY=0
if [ -s $CONF ]; then
echo "$CONF exists and is non-empty -...
Forum: Solaris 07-17-2008
2,559
Posted By max29583
Thanks friend, I got a way for that..... i...
Thanks friend,
I got a way for that.....
i ran prstat -t 1 2 for getting a summary of how much resource a user is using...

thanks anyways....

Regards,
Abhi
Forum: Solaris 07-17-2008
2,559
Posted By max29583
Performance problem
Hi All,

There is a virtual user "ecoouk" which logs on to the server and runs some scripts. I want to know how much server performance can I gain if I put off all the scripts run by this user.
...
2,237
Posted By max29583
Ok..... so this is a condition but without an...
Ok.....
so this is a condition but without an "if ... fi" block?
:confused:

Thanks for the help friend.

Regards,
Abhi
2,237
Posted By max29583
Shell script help required
Hi,

Can someone help me with this small piece of code.

DIRNAME=$(dirname $0)
BASENAME=$(basename $0)
DATA="${DIRNAME}/${BASENAME}.data"
[ -r $DATA ] && . $DATA

whats is meant by [ -r...
3,332
Posted By max29583
Its giving syntax errors....i think something is...
Its giving syntax errors....i think something is missing....

Anyways I am trying to understand it and modify it...
3,332
Posted By max29583
One more thing.... I was trying to remove...
One more thing....

I was trying to remove the 141st line after the start point (line 171) ....
i.e. (171 + 141)st line
so I tried the script
awk '{ if ((NR>=2000) && (NR<=50000)) { if ((NR+141)...
3,332
Posted By max29583
Problems solved
Thanks Dennis.

That helped !!!

U r great,,....
3,332
Posted By max29583
Thanks Dennis
Half of my problem is solved now....only thing left is that, what should i do to get the lines before and after the starting and ending points.

Anyways thanks very much for this help.

Regards,...
3,332
Posted By max29583
Deletion of lines in a text file
Hi Everyone,
Please help me with this. I have gone through many posts here but couldn't find what I wanted.

I have a file with 79000+ lines and I want to delete lines in a pattern.

I want to...
Forum: Solaris 01-25-2008
2,937
Posted By max29583
Solaris 10 braindump
Guys,

Please help me find braindump for Solaris 10. or mail me if anyone of you is ahving that. Please.

Mail: ---no-email---
Showing results 1 to 25 of 35

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