10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Something changed on my unix box.
Now when I log in it is showing entire path. It used to show only $ prompt before.
I know I need to do something in .profile to show only $ prompt
Could you please tell me what I should do, to show only $ prompt. (4 Replies)
Discussion started by: raopatwari
4 Replies
2. Shell Programming and Scripting
I'm trying to set path for the current session but it is not doing so.
It works perfectly on command line though.
#!/usr/bin/ksh
PATH=$PATH:/opt/quest/bin
Is there any specific way to set path on korn? (3 Replies)
Discussion started by: pjeedu2247
3 Replies
3. UNIX for Dummies Questions & Answers
Very new to this type of thing so go easy on me.......
I have downloaded a command language for data display.
It came as ncl_ncarg-5.2.1.MacOS_10.6_i386_64bit_gcc421.tar.gz and I unzipped/tarred it into my local directory.
The new directory, ncl_ncarg-5.2.1.MacOS_10.6_i386_64bit_gcc421,... (7 Replies)
Discussion started by: davcra
7 Replies
4. Shell Programming and Scripting
Hi,
Can anyone help me on how to set PATH using shell scripting..
Please find the shell script code here....
#!/bin/bash
PATH = $PATH:/opt/app/oracle/product/10.2.0/bin
export PATH
echo $PATH
exit
When i execute this script i get the following error
./backup.sh: line 2: PATH:... (0 Replies)
Discussion started by: srinivasj
0 Replies
5. UNIX for Dummies Questions & Answers
Hi,
Can anybody help with this?
When I log into my user account on my box via ssh and then instantly perform an env command I see that my path has been set as follows:
PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
My user account uses the ksh shell. In my home directory there is no... (7 Replies)
Discussion started by: Donkey25
7 Replies
6. Solaris
Hi,
I want to set the path for my application so I am setting the path as below --
PATH=${PATH}:.:/envs/mldev/tools:/envs/mldev/common/tools:${HOME}:/bin/p4v:/usr/j2se:/usr/j2se/bin:/usr/j2se/lib
or
PATH="\
/usr/bin:\
/usr/sbin:\
/usr/dt/bin:\
... (7 Replies)
Discussion started by: smartgupta
7 Replies
7. UNIX for Dummies Questions & Answers
Hey eveyone, I am new to unix, and I just installed java 6, however it doesn't recognize javac command
I tried to set the path such as:
set path="/usr/java/jdk1.6.0_06/bin/
but i still got the same error message.
any ideas?
-andi (1 Reply)
Discussion started by: adtd8
1 Replies
8. Shell Programming and Scripting
hi all
i have joined new to the group.
i have set an variable in my bashrc file.
.bashrc
PROGHOME=/home/braf/braf/prog
export PROGHOME
but while using it in my shell script its path is not taken and i had to explicitly give the export command to set the path.
in my script... (8 Replies)
Discussion started by: krithika
8 Replies
9. Solaris
hi
how do i change the default PATH in my system.
i log in as root, and i have .profile file in my / directory. ive put the PATH=.:/usr.......... statement, but that doesnt seem to be working
i also wanted to know why exactly we need the profile file in etc? (6 Replies)
Discussion started by: strider
6 Replies
10. Shell Programming and Scripting
I set my path environment variable in c shell, using the
syntax below
setenv PATH "${PATH}:/usr/local:/usr/local/bin"
and placed this in $HOME/.login
$HOME/.cshrc
and /etc/.login
/etc/.cshrc
but when I issued echo $PATH or set command
the output does not reflect changes made to... (5 Replies)
Discussion started by: hassan2
5 Replies