Search Results

Search: Posts Made By: cielle
1,949
Posted By cielle
Return the list of file name prefix with first 6 character
Good day people,

Kindly advice what is the operator/command that I should try out to if I am about to return a list of prefix of my filename with first 6 character.

I understand I could use sed...
Forum: AIX 04-15-2014
6,571
Posted By cielle
AIX DateTime Computation
Good day people,

Kindly advice on below please.

1) Formatting/ Arithmetic operation of given date

I understand from the AIX man date and some research that flag -d is not applicable for AIX...
8,565
Posted By cielle
build rpm with SPEC file for packaging .jar and some .sh files..
Good day people,

I have posted this under Linux' Red Hat session but no luck.
Hope can have some luck here with my problem.

Hereby wish to have your advise for below:

I have some .jar...
8,565
Posted By cielle
build rpm with SPEC file for packaging .jar and some .sh files..
Good day people,

Hereby wish to have your advise for below:

I have some .jar files, some script files (install.sh, action.sh) , and a libaes.so file. Basically, the .jar files compute the...
Forum: Red Hat 03-30-2012
2,919
Posted By cielle
Hi Corona688, Thank you for your reply! ...
Hi Corona688,

Thank you for your reply!

I at manage to get the thing solved with checking the $0 value using dirname...

thanks alot for your advise here...

else i really no idea how to...
Forum: Red Hat 03-29-2012
2,919
Posted By cielle
Unable to get $PWD value from script in /etc/init.d
Hi ppl hope to have your advice, i am run out of idea...

I have 3 scripts: a.sh, b.sh, and c.sh

a.sh resided in /etc/init.d

b.sh and c.sh /opt/xSystem

I intend to start my system with...
Forum: Red Hat 03-29-2012
1,668
Posted By cielle
hello ningy.. it shows the blank.. hmm i...
hello ningy..

it shows the blank.. hmm i did edit "maindir" from your code

thanks yea

---------- Post updated at 12:22 PM ---------- Previous update was at 12:21 PM ----------

hi cero,...
Forum: Red Hat 03-28-2012
1,668
Posted By cielle
hello Ningy, thanks for your prompt reply. ...
hello Ningy,

thanks for your prompt reply.

I have tested your advice but still unable to get the thing work.

Please advice again.
Thank you

---------- Post updated at 04:34 AM ----------...
Forum: Red Hat 03-28-2012
1,668
Posted By cielle
Get up one directory of location as variable
May i know how can i pass up one of a location to a variable in script file with command in stead of hardcode?

saying in my script file:


maindir = "/opt/xSystem/config"
upOneDir = ?????...
Forum: Red Hat 03-28-2012
32,942
Posted By cielle
thanks Scott! It is working after i reply my...
thanks Scott!

It is working after i reply my code with your advice.

May i know what is the syntax "\" and "|" for?
What is all this syntax called? as i need to get appropriate keyword to...
Forum: Red Hat 03-27-2012
32,942
Posted By cielle
yea.. i tried with sed -i...
yea.. i tried with
sed -i "s/$PWD/"$current_dir"/g" /etc/init.d/copyOfb.sh
before

but i got this error message:

sed: -e expression #1, char 9: unknown option to `s'

Then i tried with...
Forum: Red Hat 03-27-2012
32,942
Posted By cielle
Hi Corona688, thank you for your prompt reply. ...
Hi Corona688, thank you for your prompt reply.

I have tested and tried to edit my script with yout advice.. but still unable to get the value of PWD to replace my copy of shell script.

I have...
Forum: Red Hat 03-27-2012
32,942
Posted By cielle
How to pass value of pwd as variable in SED to replace variable in a script file
Hi all,

Hereby wish to have your advise for below:

Main concept is
I intend to get current directory of my script file.
This script file will be copied to /etc/init.d.
A string in this...
Showing results 1 to 13 of 13

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