9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hi , can anybody help me to chage the class path in unix server.. what are the files need to update .... (2 Replies)
Discussion started by: Madhu Siddula
2 Replies
2. UNIX for Dummies Questions & Answers
This is a very newbie's question:
I was trying to add a new version of the same command "blastn", but the old command always shows up first.
which blastn
/usr/local/bin/blastnThe two versions of the same command "blastn" are located in:
which -a blastn
/usr/local/bin/blastn... (5 Replies)
Discussion started by: yifangt
5 Replies
3. UNIX for Dummies Questions & Answers
Guys,
I did a search on this but couldn't find any thing.
I need to add /home/scadm/scripts to the PATH. If I do the below it works for the session I'm in. If I close it and reopen it doesnt work.
PATH=$PATH\:/home/scadm/scripts ; export PATH
I also want this path added to all the... (3 Replies)
Discussion started by: miltonrods
3 Replies
4. UNIX for Advanced & Expert Users
Is there anyway in which i can set a permanent global variable in unix, which when initialised with a value and modified during any shell script, would retain its value even if i logout and login
I dont know whether i am being able to express my need clearly but basically what i want is a... (3 Replies)
Discussion started by: arindamlive
3 Replies
5. UNIX for Advanced & Expert Users
I am using functions in a script and for some strange reason the EXPORT command doesnt seem to be making my variables global.
Anyone got any ideas?
I am using one function to pass some output top another using the pipe command, eg
Function 1 | Function 2
Function 2 reads the value... (3 Replies)
Discussion started by: gregf
3 Replies
6. UNIX for Dummies Questions & Answers
Hi All,
I know to set global variable i can use export .. But take the situation like below ..
I want to set a variable in one script and access that in second script
i have done like this .. It is not working
one.sh
#!/usr/bin/ksh
echo $RISSHI
export RISSHI=1
two.sh... (3 Replies)
Discussion started by: arunkumar_mca
3 Replies
7. Shell Programming and Scripting
Hi all,
I have a java command in a shell script.
When i m executing the command from the prompt its working fine. But when i paste the same command in a shell script and execute the shell script it says path not found. Please help. (5 Replies)
Discussion started by: radhika03
5 Replies
8. UNIX for Dummies Questions & Answers
:) dear members;
I am trying to placea directory to keep minor records in particular directories.. rather than just rely on hard links.. I would like to set the $PATH variable so that I can access the directory itself from anywhere; ex./ /tmp or /bin /var...
I know how to export enviromental... (4 Replies)
Discussion started by: moxxx68
4 Replies
9. UNIX for Dummies Questions & Answers
hi,
i am a newbie unix administrator. i want to set a variable, let's say :
alias cls 'clear'
But i am not going to add this line in the .login file for every home directory of my 500+ users.
pls tell me where should i put this line in, so that all users can use this variable after... (4 Replies)
Discussion started by: champion
4 Replies