Search Results

Search: Posts Made By: jobbyjoseph
Forum: AIX 07-29-2009
8,432
Posted By jobbyjoseph
Yep Problem was with the pre-install script...
Yep Problem was with the pre-install script having a bash shell include statement. Bash is not available by default on our AIX systems and needs to be put in seperately. after the adjustments to the...
Forum: AIX 07-24-2009
8,432
Posted By jobbyjoseph
Error message is : /usr/lib/instl/instal[15]:...
Error message is :
/usr/lib/instl/instal[15]: NMApplication1-AIX.Client.rte.pre_i: not found.
instal: Failed while executing the NMApplication1-AIX.Client.rte.pre_i script.


Is the script...
Forum: AIX 07-23-2009
8,432
Posted By jobbyjoseph
No the script NMApplication1-AIX.Client.rte.pre_i...
No the script NMApplication1-AIX.Client.rte.pre_i is part of the package.
Forum: AIX 07-22-2009
8,432
Posted By jobbyjoseph
Nope.. Not file permissions. They are 0755. ...
Nope.. Not file permissions. They are 0755.

Problem is not with the package creation i.e mkinstallp but with the installation process i.e installp command. Sorry if I was not clear enough

I...
Forum: AIX 07-22-2009
8,432
Posted By jobbyjoseph
Well thats the first thing I checked but the...
Well thats the first thing I checked but the paths correct. Whats more important is that the path is irellevant as the pre/post install would already be a part of the package with the paths defined....
Forum: AIX 07-21-2009
8,432
Posted By jobbyjoseph
AIX custom package install query
I have created a .bff package for an app to tbe installed on AIX servers across regions. I am pretty new to the AIX mode of packaging using mkinstallp but I have been able to get the same done. I...
2,039
Posted By jobbyjoseph
Well i added another run_time into the file in...
Well i added another run_time into the file in the below format

run_time:run_time:

and i modified it using vi
%s/\(start_times:\)\(.*\)/\2"/g

. There must be a simpler way though
2,039
Posted By jobbyjoseph
I am able to get the first double quotes using...
I am able to get the first double quotes using simple vi i.e

:%s/start_times: /start_times: "/g

the problem is when ti comes to the trailing double quote. I am trying to use anchors and...
2,039
Posted By jobbyjoseph
Search & Replace
Hi ,

I ahve a text file which has several instances of the text such as

run_time: 09:30

I need to add double quotes before and after the time value

i.e: run_time: "09:30"

Any...
4,419
Posted By jobbyjoseph
To insert "/usr/bin/rm -fr " command in vi Editor...
To insert "/usr/bin/rm -fr " command in vi Editor at the start of each row you do
:%s/^/\/usr\/bin\/rm\ -fr/g
7,223
Posted By jobbyjoseph
Retrieve 5th Field to Last Field !!
I have a script which retrieves certain fields from a text file using awk. The delimiter used is white space.

cat /home/eis/boss/OPS|while read LINE
do
crdno=`echo $LINE | awk '{print $1}'`...
15,910
Posted By jobbyjoseph
Check if a day eg: saturday is the Last saturday of the month!
Hi,

I need to develop a script to check for the day. If the day is a Saturday then the script should check if the Saturday is the last Saturday of the month so that certain set of instruction...
Forum: Solaris 11-15-2006
2,107
Posted By jobbyjoseph
Hi, Guess had too much coffee while posting...
Hi,

Guess had too much coffee while posting the issue and hence the rambling text. Same works fine. Can I have a breakup of the command if it's not too much trouble. Just wanted some clarity......
Forum: Solaris 11-14-2006
2,107
Posted By jobbyjoseph
Catpuring the last entry of a repetetive sequence from a file!
Hi,

I have my scheduled backups running on a Solaris Box using Veritas at 06:00 hrs daily. Now these backups are to be executed using Autosys Scheduler in a job workflow and hence the...
Forum: Solaris 07-25-2006
9,218
Posted By jobbyjoseph
Root Login Auditing !!
Hi,

At our site(O.S Solaris 5.9) we have disabled the root login and also su . In place of this we have a root equivalent id eg:boss which is basically a copy of ur /usr/bin/su. Now in order...
4,419
Posted By jobbyjoseph
Thanx for the help provided mate. It sure cleared...
Thanx for the help provided mate. It sure cleared out my doubts w.r.t Search and replace of regular expressions.

Regds,
Jobby
4,419
Posted By jobbyjoseph
Ranjit, Could you just break down the entire...
Ranjit,

Could you just break down the entire command for me if it is not too troublesome for you...

:,$s/\(command:\)\(.*\)$/\1 ls -rlt/g

Regds,
Jobby
4,419
Posted By jobbyjoseph
Ranjit, Sorry for the delay in responding...
Ranjit,

Sorry for the delay in responding to ur update as I was out of town for a week. The solution prescribed by you works fine only change that I made to the same was
...
4,419
Posted By jobbyjoseph
Search and replace
I have a script which has several occurences of statement like
command: $UCMDPATH/xyz abc

I would like to replace the entire line starting from $UCMDPATH with the ls -ltr command
eg:
Prior...
Showing results 1 to 19 of 19

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