Search Results

Search: Posts Made By: ocbit
4,539
Posted By ocbit
Yoda, thank you. Exactly what I was after. ...
Yoda, thank you. Exactly what I was after.

---------- Post updated 06-29-16 at 12:30 PM ---------- Previous update was 06-28-16 at 04:15 PM ----------

Yoda, a follow up question on the code:
...
4,539
Posted By ocbit
The code I provided works perfectly fine as I...
The code I provided works perfectly fine as I posted it. Why would I post it and say it works if it doesn't? Replacing <machine> data is my addition to it, but that is not relevant to this post.
...
4,539
Posted By ocbit
awk print in script
Hi, Thanks to RudiC I have a functioning awk portion of a script which reads a text file and replaces all matching values in an XML.

I need help with placing print statements in the script to see...
1,850
Posted By ocbit
Thanks Ravinder. I was basically looking for...
Thanks Ravinder.

I was basically looking for a way to have a variable with 2 extensions. I don't want to use if-else statements.

We are not using two files anymore, just single file.
1,850
Posted By ocbit
To clarify: I have an awk script which does...
To clarify:

I have an awk script which does string replacement based on an input xml and a properties file; this script returns the same xml with updated values.

The input xml can either be...
1,850
Posted By ocbit
File Extension Substitution
Hi,

I have a script in which the file name is always known, but the extension could vary. I want to be able to use a single variable; no if-else statements. For example, if I have config.txt in...
6,272
Posted By ocbit
Setting AIX vi colors
Hi -

In my ~/.exrc file I have:


set number
syntax on
colorscheme evening


The numbers are set when I open a file but the syntax and colorscheme options are not available:

syntax: Not...
Forum: AIX 02-09-2016
6,669
Posted By ocbit
The command returns ../jre/bin/java...
The command returns ../jre/bin/java -Djetty.home=.. -Djetty.port=xxxx -Djetty.ssl.port=yyyy -Xms100m -Xmx128m -cp ../lib/startAlt.jar org.mortbay.start.Main jettyBrowser.xml

Surely, the JVM...
Forum: AIX 02-08-2016
6,669
Posted By ocbit
JVM Process Name
Hi -

In AIX, how do I find the Java Virtual Machine Process Name running on a particular machine?

I tried ps -ef | grep java
but it does not return a process name.

Please help.
4,405
Posted By ocbit
Second solution worked like a charm.
Second solution worked like a charm.
4,405
Posted By ocbit
I have the following alias in my local user...
I have the following alias in my local user profile:
PS1=`logname`@`hostname -s`:'$PWD>'

This appears as:
user@machineName:/home/user>

How can I make the logname parameter reflect the su user...
4,405
Posted By ocbit
Awesome. Thank you!
Awesome. Thank you!
4,405
Posted By ocbit
Using alias after issuing 'su - user'
Hi,

Using ksh, I have set up aliases (which work fine) in my user's .profile like this:

alias ll = 'ls -lrt'
alias cls = 'clear'

How do I call these same aliases so that they will work...
1,344
Posted By ocbit
Thank you RudiC, the replacements are working...
Thank you RudiC, the replacements are working perfectly.
1,344
Posted By ocbit
Code tags noted. Text file contains several...
Code tags noted.

Text file contains several entries in the format described and yes the XML will be replaced with every occurrence in the text file.
1,344
Posted By ocbit
AIX UNIX Script to Replace XML Values
Hi -

I've seen variations of this same question asked but I have not been able to find an answer that fits my problem. Please direct me to another post if there already is a solution to this.
...
Showing results 1 to 16 of 16

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