02-09-2007
Path Environment
How do we change path environment?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
HI there people!!
I'm really new with this great OS. I just installed a RedHat Linux 7.1 on my unit. Got it to work on dual boot with my Windows 2000. And I have some problem... how do i change/modify the system environment path? Thanks... and sorry for the ignorance ;) (5 Replies)
Discussion started by: spine_me
5 Replies
2. UNIX for Advanced & Expert Users
Hi,
How does the PATH and MANPATH environment variable get set?
I want to add "/opt/SUNWspro/bin" to the search path for all the users. Where can I access this variable.
I know in my home directory, depend on which shell I use, there are files such as .profile and .cshrc which I can edit to... (3 Replies)
Discussion started by: vtran4270
3 Replies
3. Shell Programming and Scripting
Hi.....
I'm kind of new to c programming in Unix...need help here.
Supposed to write a source code to support Path environment variable for my programming assignment for Spring semester.
but i'm kind of stuck. Could anyone out there assist me?
prompt> /bin/ls
My program could output... (3 Replies)
Discussion started by: tancy
3 Replies
4. Shell Programming and Scripting
whats the meaning of ::
colon in PATH environment?
/usr/local/bin:/usr/bin:/usr/local/gnu/bin::.:/usr/local/bin:/usr/bin:/usr/local/gnu/bin:/usr/local/bin
and whats the meaning of // in PATH ? (1 Reply)
Discussion started by: gfhgfnhhn
1 Replies
5. 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
6. UNIX for Dummies Questions & Answers
Hello,
I am using Solaris 10.0 and defining PATH on command line by the following way:
#export PATH=/usr/sfw/bin....
...but after restart, Solaris forgets what I defined and I need to re-define the same PATH environment.
I want to to get defined my PATH environment during booting... (10 Replies)
Discussion started by: XNOR
10 Replies
7. Shell Programming and Scripting
Hi
I need a script which will remove a path from PATH environment variable. For example
$echo PATH
/usr/local/bin:/usr/bin:test/rmve:/usr/games
$echo rmv
test/rmve
Here I need a shell script which will remove rmv path (test/rmve) from PATH... (9 Replies)
Discussion started by: madhu84
9 Replies
8. UNIX for Dummies Questions & Answers
Hello all, I have a Mac OS X (10.7), and I need to set environment variables and paths for some programs I will be running. I have followed instructions and searched the Web for where to do this, but I can't seem to find an answer. I have tried using the VIM editor to write them into my .login,... (2 Replies)
Discussion started by: Tyler_92
2 Replies
9. Ubuntu
PATH is an environment variable.
When I open a terminal say terminal 1 and set some path in PATH variable it gets set which I can see using ech $PATH.
But when I open a new terminal say terminal 2 and fire echo $PATH why cannot I see the same output as seen in terminal terminal 1?
Why the path... (4 Replies)
Discussion started by: rupeshkp728
4 Replies
10. UNIX for Advanced & Expert Users
Currently I am using this laborious command
lvdisplay | awk '/LV Path/ {p=$3} /LV Name/ {n=$3} /VG Name/ {v=$3} /Block device/ {d=$3; sub(".*:", "/dev/dm-", d); printf "%s\t%s\t%s\n", p, "/dev/mapper/"v"-"n, d}'
Would like to know if there is any shorter method to get this mapping of... (2 Replies)
Discussion started by: royalibrahim
2 Replies
LEARN ABOUT OSX
svk::path
SVK::Path(3) User Contributed Perl Documentation SVK::Path(3)
NAME
SVK::Path - SVK path class
SYNOPSIS
See below
DESCRIPTION
The class represents a node in svk depot.
root
Returns the root representing the file system of the revision at the anchor. Give optional pool (null to use default), otherwise use the
internal root of the path object. Be careful if you are using the root object but not keeping the path object.
same_repos
Returns true if all @other targets are from the same repository as this one.
same_source
Returns true if all @other targets are mirrored from the same source
is_mirrored
Returns the mirror object if the path is mirrored. Returns additional path component if used in array context.
normalize
Normalize the revision to the last changed one.
as_depotpath
Makes target depotpath. Takes $revision number optionally.
path
Returns the full path of the target even if anchorified.
descend
Makes target descend into $entry
universal
Returns corresponding SVK::Target::Universal object.
depotpath
Returns depotpath of the target
copy_ancestors
Returns a list of "(path, rev)" pairs, which are ancestors of the current node.
nearest_copy(root, path, [pool])
given a root object (or a target) and a path, returns the revision root where it's ancestor is from another path, and ancestor's root and
path.
related_to
Check if $self is related to another target.
copied_from ($want_mirror)
Return the nearest copy target that still exists. If $want_mirror is true, only return one that was mirrored from somewhere.
$self->seek_to($revision)
Return the "SVK::Path" object that $self is at $revision. Note that we don't have forward tracing, so if <$revision is greater than
"$self-"revision>, a "SVK::Path" at <$revision> will be returned. In other words, assuming "foo@N" for "-r N foo@M" when N > M.
as_url($local_only, [ $path, $rev ])
Returns (url, revision) pair.
node_id ()
Returns the node id of this path object.
SEE ALSO
SVK::Path::Checkout
perl v5.10.0 2008-08-04 SVK::Path(3)