10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am running the export command within a view to use that value inside my build script. But while executing it it is saying "export command not found"
My code is as follows:
--------------------------
#!/bin/sh
user="test"
DIR="/bldtmp/"$user
VIEW="test.view1"
echo "TMPDIR before export... (4 Replies)
Discussion started by: dchoudhury
4 Replies
2. UNIX for Dummies Questions & Answers
Hi
The command "ssh -V" works as normal user but fails as root.
As Normal user:
bash-3.00$ ssh -V
OpenSSH_5.9p1, OpenSSL 1.0.0e 6 Sep 2011As Root user:
# ssh -V
bash: ssh: command not found
Thanks (1 Reply)
Discussion started by: frintocf
1 Replies
3. Shell Programming and Scripting
I am trying to make a script to take commands from a .txt file ( line by line) and pass it using send ( used in another function )
what i am trying to achieve is :
set nol "`grep '' ${exp_path2}/cmdlist.txt | wc -l `"
as in shell script
nol=`grep '' $exp_path2/cmdlist.txt | wc -l`
... (0 Replies)
Discussion started by: dixyantar
0 Replies
4. Shell Programming and Scripting
Hi,
I need help for using export command. Lets consider there are 2 servers ie. A & B. I am running one script on server A which calls another script on server B using remsh command. There is one variable in the script on server B which do not gets evaluated and ultimately i get the error.
... (3 Replies)
Discussion started by: tushar_shah06
3 Replies
5. UNIX for Dummies Questions & Answers
Hi,
I'm new to unix so hopefully you can help!
I'm using the below command to extract a tables contents and store it in a dmp file:
exp OWNER/OWNER@LINK FILE=exp.dat TABLES=TABLE_TEST
This works fine and dumps the table into the exp.dat file.
What i can't figure out, is how to... (3 Replies)
Discussion started by: boijie
3 Replies
6. UNIX for Dummies Questions & Answers
Hi, I need
to make some extraction . with the following input to get the right output.
input: /etc/exp/home/bin ====> output: exp
and
input: aex1234 ===> output: ex
Thanks for your help, (4 Replies)
Discussion started by: yeclota
4 Replies
7. Shell Programming and Scripting
Sorry for the duplicate thread this one is similar to the one in
https://www.unix.com/shell-programming-scripting/88132-awk-sed-script-read-values-parameter-files.html#post302255121
Since there were no responses on the parent thread since it got resolved partially i thought to open the new... (4 Replies)
Discussion started by: rajan_san
4 Replies
8. UNIX for Advanced & Expert Users
Hi All,
Can anybody tell me . What does it mean by following statement
export $$
Generally export command sets up the environment variable and if any
child process is created it passes on to it
Thanks & Regards
Srivatsav (2 Replies)
Discussion started by: bsrivatsav
2 Replies
9. UNIX for Advanced & Expert Users
Hi all,
Want to know what does export command do??
What is its functionality?
And on a shell prompt
$at=1
$ echo $at
1
The variable above is it available to other script??? (3 Replies)
Discussion started by: prakash.kudreka
3 Replies
10. Shell Programming and Scripting
I saw a unix shell script in which export command is used like this :
export filename
what is a file exported for ?
thanks
srini (4 Replies)
Discussion started by: sveera
4 Replies