10 More Discussions You Might Find Interesting
1. Red Hat
I ssh in and am trying to add a directory permanently to $PATH in centos 7 and having issues. My current $PATH is
but when I do a sudo nano ~/.bashrc
# User specific aliases and functions
alias... (7 Replies)
Discussion started by: cmccabe
2. UNIX for Dummies Questions & Answers
Now I have: /Users/okn/bin for my private shell scripts.
How do I add /Users/okn/bin to my PATH?
The PATH is right now:
The .bash_profile doesn't state anything about a PATH (yet).
I read about this:
or... (1 Reply)
Discussion started by: OmarKN
3. Shell Programming and Scripting
Hello everyone I am a newcomer to UNIX and I have hit a snag in something that would probably take experienced people about 30 seconds. Long story short I am trying to add a directory to my PATH and it is getting added but not working. I mean, the object of adding it to the path is so I can access... (2 Replies)
Discussion started by: tastybrownies
4. UNIX for Dummies Questions & Answers
I am trying to add path for root.
In /etc directory there is no .bash_profile file
it has only profile file
can any one say how to add path for root user ?
is it possible to add path in profile file for root user. (18 Replies)
Discussion started by: elango963
5. UNIX for Dummies Questions & Answers
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
6. Shell Programming and Scripting
I have added the path variable as below
export... (4 Replies)
Discussion started by: burton
7. Shell Programming and Scripting
I tried to add a path vairable
export GPLOAD_CONNECT_STR= -U crm -h sdc-gp1-dev1 -d wmgpdev
but it throws the below error
-bash: export: `-U': not a valid identifier
-bash: export: `-h': not a valid identifier
-bash: export: `sdc-gp1-dev1': not a valid identifier
-bash: export:... (2 Replies)
Discussion started by: burton
Sorry this maybe a dumb one, but I am root and want to add something to my PATH.
Is the right place to do it here:
If so, after I add it, how do I source it? Neither
"source <file>" nor ". <file>" work.
How does the above file work... is there another... (5 Replies)
Discussion started by: steve701
I downloaded a tarball of coreutils ....
extracted only to find out that i had to build it...
But when i executed ./configure, this is what i got
checking build system type... i386-pc-solaris2.11
checking host system type... i386-pc-solaris2.11
configure: autobuild project... GNU... (2 Replies)
Discussion started by: wrapster
10. Shell Programming and Scripting
i wrote a script and is running. I add the path bin to variable PATH, i.e.
PATH=$PATH/bin. i add this to PATH in order to run the script in any path working directory. Thats ok. The problem is as son as i close the session and start a new session, changes are lost. How can i tell the shell or... (1 Reply)
Discussion started by: alexcol