10 More Discussions You Might Find Interesting
1. Ubuntu
Hello,
I'm trying to use export for non use "./" when I execute a program.
I mean "program" in place of "./program"
I tried this:
export doit=program
But doesn't work the answer is:
doit command not found
Then, I see the variables using export, and I can see:
... (1 Reply)
Discussion started by: NewBe
1 Replies
2. Shell Programming and Scripting
how can I use whoami on a script for ordinary user? it always says command not found. pls help
#!/bin/ksh
W='whoami'
DATE=`date "+%Y-%m-%d %H:%M:%S"`
echo " $DATE- by $W"
result
2011-03-29 09:46:16 - by
you wil noticed the by is blank...pls help..but in root, it works (1 Reply)
Discussion started by: lhareigh890
1 Replies
3. Shell Programming and Scripting
Hello,
I have the following command at the "Shell":
export PATH=${PATH}:${ANT_HOME}/bin
I know what "export" does and the ANT_HOME part. But, regarding the following part:
${PATH}
What is "PATH" Supposed to be here. In other words, what is the value of "PATH".
As far as for... (4 Replies)
Discussion started by: SWEngineer
4 Replies
4. UNIX for Advanced & Expert Users
I have a file that reads File (X.txt)
Contents of record 1:
rdrDESTINATION_ADDRESS (String) "91 971502573813"
rdrDESTINATION_IMSI (String) "000000000000000"
rdrORIGINATING_ADDRESS (String) "d0 movies"
rdrORIGINATING_IMSI (String) "000000000000000"
rdrTRAFFIC_EVENT_TIME... (0 Replies)
Discussion started by: magedfawzy
0 Replies
5. Solaris
rsh to host2 from host1 and from host2 rsh into host3
Is it possible to display a GUI from host3 through host2 and onto host1? (1 Reply)
Discussion started by: eddiet
1 Replies
6. Shell Programming and Scripting
Hi all,
I am calling a script from main script.
The called script (second script) have to return some value, i can use exit to pass but in exit i have to pass some other value.
i used "export Var", but this command resides in a function of second script.
could you please tell me how to... (3 Replies)
Discussion started by: Arunprasad
3 Replies
7. BSD
Hi
I need to export some directpry path like below:
var1=/<>/<>/<>
export var1
This is my basic idea.
I tried export var1=/<>/<>/<>
after executing this in a shell i did an echo of the var1. But nothing happened.
Can you please help me with this.
I need to srite a script to... (4 Replies)
Discussion started by: jisha
4 Replies
8. Shell Programming and Scripting
I am trying to export the variable OBJ2 and set it to done. Can some one please let me how to do this?
I have tried editing my .bashrc file with this echo <VARIABLE_NAME>=<"OBJ2"> But that wont seem to work... (1 Reply)
Discussion started by: Justinkase
1 Replies
9. UNIX for Dummies Questions & Answers
Apologies first -- I am a complete AIX moron but I have to figure this out to get our new system online. I am a programmer, not a sysad, but our AIX/UNIX admin is in the hospital.
Apologies first -- I am a complete AIX moron but I have to figure this out to get our new system online. I am a... (1 Reply)
Discussion started by: AIXdumb455
1 Replies
10. Shell Programming and Scripting
Hi,
I have written the following two scripts.
a.ksh --->
FPATH=/users/kushard
autoload b
b
echo "From a.ksh::" $aa
b --->
function b
{
typeset aa
aa="TRUE."
echo "From b::" $aa
export aa
} (1 Reply)
Discussion started by: kdipankar
1 Replies