I have the following in my path:
But I want to change it programmatically(for the purpose of JBoss automatic(ansible) installs) to:
and after that I need to insert the JAVA_HOME programmatically, but not now...
So, after trawling the www for answers... I thought that this one is the least confusing (not allowed to insert the http
Hallo Team,
I have a big file and the sample looks like below:
0105550
0105550
0105550
0105550
0105550
0125550
0125550
0125550
0125550
0125550
0215650
0215650
0215650
0215650
0215650
0315550 (3 Replies)
I would like to modify my .profile PATH to include all subdirectories of the directory I specify. For example, right now I have
PATH=$HOME/tier1
Tier1 has a tier2 directory in it. Right now I can execute files from tier1, but not tier2. I know I can add another path with $HOME/tier1/tier2,... (1 Reply)
This is on a Solaris 9 box, but I feel like a noob, so I am posting here. When I echo $PATH I get a lot of duplicate paths and extra stuff I don't need. What I want is just what I set up in my home dir under .profile
My login shell=/bin/bash
I checked the following and there are no path... (1 Reply)
Hello
i use bash and i added a path variable for 2 files /rscr and /uscr in /etc/profile
/rscr working fine but the other one shows command not found
and when i try to type whereis for scripts in /rscr it shows them but the other one shows nothing... thanks :b: (3 Replies)
Definitely a unix dummy. I edited the paths in the /etc/profile file - following the instructions on an install package. Now can't use vi, cat pg ls or any other unix commands. Guess I'm in big trouble.
Path reads
MANPATH=/opt/hpnp/man
PATH=/opt/hpnpl/bin
LD_LIBRARY_PATH=/opt/hpnp/lib
... (4 Replies)
hello.,
i have a .txt file.
inside the .txt file i have.,
/home/ss/cca.costco.transaction_date
/home/sk/cca.costco.transaction_date
/home/st/cca.costco.transaction_date
/home/sv/cca.costco.transaction_date
cca.costco.transaction_date is the file name.
inside the file there are some... (2 Replies)
I need a script to be able to take a path such as "/foo/bar/thing" a put the "/foo/bar/" bit in one variable and the "thing" bit in another.
I figured awk would probably be the best tool for the job but looking at the man page didn't seem to help. The only way i know how to use awk is with... (12 Replies)
In my /etc/profile, my $PATH variable is set as follows:
$PATH =/sbin:/usr/sbin:/usr/bin:/etc
Then how do I add an additional directory to it? say
/export/home/abd/rose
Please advise.
Thanks!
Deepali (3 Replies)