9 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hello all,
I am EXTREMELY new to using bash and I have a bit of a problem: I'm trying to set up a shell script that can
1.) take one of several giant files off of an external hard drive
2.) use it as input for scripts on my laptop's hard drive
... (3 Replies)
Discussion started by: machine_spirit
3 Replies
2. Shell Programming and Scripting
Dear all,
I have a script which triggers a C program in it after initialising parameters.
Below is the sample
#! /bin/sh
. /my_data/environment
HOME=/home/execs/testing/
cd $HOME
compare $1 $2 X
exit $? (10 Replies)
Discussion started by: PikK45
10 Replies
3. UNIX for Dummies Questions & Answers
Hi
I need to set up a dns server for Oracle 11g rac setup. I got some files (copied from friend) named.conf and related files in /var/named , i was told that this would work fine. But i am getting some issues. I am attaching the files here.
The problem is
dig... (1 Reply)
Discussion started by: ankurk
1 Replies
4. Shell Programming and Scripting
Hi I am using MKS Toolkit c shell.
I am trying to set a path variable something like c:/Program Files/blah/blah
so
set path=(c:/Program Files/blah/blah)
this, however, does not work as it splits this thing up into 'c:/Program' and
'Files/blah/blah'.
Does anyone have any ideas on... (9 Replies)
Discussion started by: vas28r13
9 Replies
5. Shell Programming and Scripting
Hello Folks,
I want to append a path in user's PATH variable which should be available in current session.
Background
Numerous persons will run a utility.
Aim is to add the absolute path of the utility the first time it runs so that next runs have the PATH in env & users can directly run... (6 Replies)
Discussion started by: vibhor_agarwali
6 Replies
6. Shell Programming and Scripting
Hi,
Could anyone help me in writing a single line code by either using (sed, awk, perl or whatever) to extract a specific path from the PATH environment variable?
for eg: suppose the PATH is being set as follows
PATH=/usr/bin/:/usr/local/bin:/bin:/usr/sbin:/usr/bin/java:/usr/bin/perl3.4
... (2 Replies)
Discussion started by: royalibrahim
2 Replies
7. Shell Programming and Scripting
Hi,
I am new to shell scripting.I tried adding an entry to the path variable like below
export PATH=$PATH:/opt/xxx/bin
But am getting an error invalid identifier /opt/xxx/bin
Can someone tell me the error above and correct me .
Thanks and Regards,
Padmini (2 Replies)
Discussion started by: padmisri
2 Replies
8. 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
9. UNIX for Dummies Questions & Answers
Hi there,
I need help on setting the path variable. How can I set the path variable with Bourne Shell. My scripts goes like this, but did not work.
#!/bin/sh
PATH=/usr/bin:/usr/ucb:/etc:/export/home/zchen/home
export PATH
Thanks,
Z (4 Replies)
Discussion started by: randomcz
4 Replies